]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix pending frame check
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Thu, 2 Oct 2014 01:03:14 +0000 (06:33 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Oct 2014 18:26:31 +0000 (14:26 -0400)
commit08db05b891f87c3b5bf5b1fd256e45496a4bbee7
tree0042d039533723845ea6f33775df77d1126959ba
parent189b89a238fcbde93b908b786b72007bdf523857
ath9k: Fix pending frame check

Checking for the queue depth outside of
the TX queue lock is incorrect and in this
case, is not required since it is done inside
ath9k_has_pending_frames().

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