]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Check early for HW reset
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Tue, 30 Sep 2014 08:45:23 +0000 (14:15 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2014 17:17:48 +0000 (13:17 -0400)
commitd81861be84a2e47c8bbd7cc3fd2f5ed23f82f77f
treeebb24bcd1fe800477529e004de8928fd361a2814
parent56e53bd82bdf1a7a6651c1ca55044f2efc9fa38e
ath9k: Check early for HW reset

chan_lock is not required for checking if
we are in the middle of a HW reset, so do it
early. This also removes the small window
where the lock is dropped and reacquired.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c