linux/drivers/net/wireless/realtek/rtl8xxxu
Bitterblue Smith 7927afb5e2 wifi: rtl8xxxu: Fix use after rcu_read_unlock in rtl8xxxu_bss_info_changed
Commit a8b5aef2cc ("wifi: rtl8xxxu: gen2: Enable 40 MHz channel width")
introduced a line where the pointer returned by ieee80211_find_sta() is
used after rcu_read_unlock().

Move rcu_read_unlock() a bit lower to fix this.

Fixes: a8b5aef2cc ("wifi: rtl8xxxu: gen2: Enable 40 MHz channel width")
Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/3c82ad09-7593-3be1-1d2c-e58505fb43cb@gmail.com
2022-11-28 15:57:07 +02:00
..
Kconfig wifi: rtl8xxxu: Update module description 2022-10-12 07:33:59 +03:00
Makefile wifi: rtl8xxxu: Support new chip RTL8188FU 2022-10-04 11:09:33 +03:00
rtl8xxxu_8188f.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_8192c.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_8192e.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_8723a.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_8723b.c wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu_core.c wifi: rtl8xxxu: Fix use after rcu_read_unlock in rtl8xxxu_bss_info_changed 2022-11-28 15:57:07 +02:00
rtl8xxxu_regs.h wifi: rtl8xxxu: Use u32_get_bits in *_identify_chip 2022-11-16 11:30:43 +02:00
rtl8xxxu.h wifi: rtl8xxxu: Split up rtl8xxxu_identify_chip 2022-11-16 11:26:10 +02:00