Files
linux/drivers/net
Dan Carpenter 55b8644dfd ath9k: Fix a locking bug in ath9k_add_interface()
[ Upstream commit 461cf03605 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-25 09:52:24 +01:00
..
2016-06-15 22:06:06 -07:00
2019-10-05 12:30:13 +02:00
2019-09-10 10:31:01 +01:00
2015-10-21 19:36:10 -07:00
2019-08-04 09:33:25 +02:00
2016-05-09 00:00:28 -04:00
2018-03-22 09:17:57 +01:00