Re: [PATCH] wifi: rtl8xxxu: fix mixed declarations in rtl8xxxu_set_aifs()

From: Kalle Valo
Date: Wed Feb 28 2024 - 06:45:44 EST


Shiji Yang <yangshiji66@xxxxxxxxxxx> wrote:

> Moving struct ieee80211_sta *sta variable definition to the front
> of the code to fix the ISO C90 forbids mixed declarations and code
> warning.
>
> Fixes: 43532c050f8e ("wifi: rtl8xxxu: support multiple interfaces in set_aifs()")
> Signed-off-by: Shiji Yang <yangshiji66@xxxxxxxxxxx>
> Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>

Patch applied to wireless-next.git, thanks.

a7e178259c5b wifi: rtl8xxxu: fix mixed declarations in rtl8xxxu_set_aifs()

--
https://patchwork.kernel.org/project/linux-wireless/patch/TYAP286MB03157A408E0D69F2F6FBD88ABC552@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches