]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix TX poll cancelling
authorSujith <Sujith.Manoharan@atheros.com>
Tue, 18 Aug 2009 05:21:52 +0000 (10:51 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 20 Aug 2009 15:36:03 +0000 (11:36 -0400)
commit98c32d19df17813419b22e4e6d54ca544013bb99
tree4f746f31c80989412d39fcad7a9d631db25aa916
parent5b3d5dfdeec398c66daf3787c08d9b1ca1059448
ath9k: Fix TX poll cancelling

In ath9k_stop(), tx_complete_work was being cancelled twice.
This patch fixes it. Also, locking sc->mutex should be done
at the beginning.

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