kernel_samsung_a53x/drivers/net/wireless
Rafael Beims 64663028ab wifi: mwifiex: Fix interface type change
commit a17b9f590f6ec2b9f1b12b1db3bf1d181de6b272 upstream.

When changing the interface type we also need to update the bss_num, the
driver private data is searched based on a unique (bss_type, bss_num)
tuple, therefore every time bss_type changes, bss_num must also change.

This fixes for example an issue in which, after the mode changed, a
wireless scan on the changed interface would not finish, leading to
repeated -EBUSY messages to userspace when other scan requests were
sent.

Fixes: c606008b7062 ("mwifiex: Properly initialize private structure on interface type changes")
Cc: stable@vger.kernel.org
Signed-off-by: Rafael Beims <rafael.beims@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240510110458.15475-1-francesco@dolcini.it
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-11-23 23:20:13 +01:00
..
admtek
ath wifi: ath11k: fix wrong handling of CCMP256 and GCMP ciphers 2024-11-23 23:20:07 +01:00
atmel
broadcom wifi: brcmsmac: LCN PHY code is used for BCM4313 2G-only device 2024-11-23 23:20:06 +01:00
cisco
cnss2
cnss_genl
cnss_prealloc
cnss_utils
intel wifi: iwlwifi: mvm: don't read past the mfuart notifcation 2024-11-19 14:19:00 +01:00
intersil
marvell wifi: mwifiex: Fix interface type change 2024-11-23 23:20:13 +01:00
mediatek
microchip wifi: wilc1000: fix ies_len type in connect path 2024-11-19 14:19:41 +01:00
qualcomm/qca6490
quantenna wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
ralink wifi: rt2x00: restart beacon queue when hardware reset 2024-11-18 12:13:11 +01:00
realtek wifi: rtlwifi: rtl8192de: Fix 5 GHz TX power 2024-11-19 14:19:10 +01:00
rsi
scsc
st wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
ti
zydas
Kconfig
mac80211_hwsim.c wifi: mac80211_hwsim: fix clang-specific fortify warning 2024-11-18 11:43:12 +01:00
mac80211_hwsim.h
Makefile
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c wireless: Remove redundant 'flush_workqueue()' calls 2024-11-19 08:44:44 +01:00
virt_wifi.c wifi: virt_wifi: don't use strlen() in const context 2024-11-23 23:20:08 +01:00
wl3501.h
wl3501_cs.c