linux/drivers/net/wireless
Dan Carpenter 461cf03605 ath9k: Fix a locking bug in ath9k_add_interface()
We tried to revert commit d9c52fd17c ("ath9k: fix tx99 with monitor
mode interface") but accidentally missed part of the locking change.

The lock has to be held earlier so that we're holding it when we do
"sc->tx99_vif = vif;" and also there in the current code there is a
stray unlock before we have taken the lock.

Fixes: 6df0580be8 ("ath9k: add back support for using active monitor interfaces for tx99")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-11-06 18:43:30 +02:00
..
admtek
ath ath9k: Fix a locking bug in ath9k_add_interface() 2018-11-06 18:43:30 +02:00
atmel atmel: Replace mdelay() with msleep() in probe_atmel_card() 2018-07-31 10:25:33 +03:00
broadcom brcmsmac: AP mode: update beacon when TIM changes 2018-10-13 20:00:42 +03:00
cisco airo: remove unused variables len and dev and clean up formatting 2018-07-31 10:17:19 +03:00
intel iwlegacy: Add a lock assertion in il4965_send_rxon_assoc() 2018-10-13 20:02:29 +03:00
intersil wireless-drivers-next patches for 4.20 2018-10-02 11:46:29 -07:00
marvell libertas: return errno from lbs_add_card() 2018-10-13 20:03:53 +03:00
mediatek mt76x0: phy: do not run calibration during channel switch 2018-10-13 17:39:53 +02:00
quantenna qtnfmac_pcie: cleanup Pearl platform headers 2018-10-13 20:04:48 +03:00
ralink rt2800: flush and txstatus rework for rt2800mmio 2018-10-01 18:37:35 +03:00
realtek rtl8xxxu: Remove set but not used variables 'usedesc40' and 'seq_number' 2018-10-13 20:05:26 +03:00
rsi rsi: Remove unnecessary boolean condition 2018-10-01 18:31:10 +03:00
st cw1200: Remove extra parentheses 2018-08-31 18:42:25 +03:00
ti wlcore: Add support for optional wakeirq 2018-10-05 11:33:31 +03:00
zydas zd1211rw: Replace spin_is_locked() with lockdep 2018-10-05 11:35:05 +03:00
Kconfig
mac80211_hwsim.c mac80211_hwsim: drop now unused work-queue from hwsim 2018-10-08 09:49:06 +02:00
mac80211_hwsim.h
Makefile
ray_cs.c ray_cs: remove redundant pointer 'p' 2018-07-31 10:19:50 +03:00
ray_cs.h
rayctl.h
rndis_wlan.c wireless-drivers: use BIT_ULL for NL80211_STA_INFO_ attribute types 2018-06-27 19:07:39 +03:00
wl3501_cs.c
wl3501.h