Skip to content
Commit a7e17825 authored by Shiji Yang's avatar Shiji Yang Committed by Kalle Valo
Browse files

wifi: rtl8xxxu: fix mixed declarations in rtl8xxxu_set_aifs()

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: 43532c05

 ("wifi: rtl8xxxu: support multiple interfaces in set_aifs()")
Signed-off-by: default avatarShiji Yang <yangshiji66@outlook.com>
Reviewed-by: default avatarPing-Ke Shih <pkshih@realtek.com>
Signed-off-by: default avatarKalle Valo <kvalo@kernel.org>
Link: https://msgid.link/TYAP286MB03157A408E0D69F2F6FBD88ABC552@TYAP286MB0315.JPNP286.PROD.OUTLOOK.COM
parent 5a391813
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment