ath9k: disable beaconing before stopping beacon queue
authorRajkumar Manoharan <rmanoharan@atheros.com>
Wed, 9 Feb 2011 12:16:39 +0000 (17:46 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Feb 2011 20:51:20 +0000 (15:51 -0500)
commit014cf3bb1e19a61c53666d7f990f584f1b7af364
treeb6a35202046c00e8f8289196042d046399fcd74e
parentd76dfc612b40b6a9de0a3fe57fe1fa3db7a1ae3b
ath9k: disable beaconing before stopping beacon queue

Beaconing should be disabled before stopping beacon queue.
Not doing so could queue up beacons in hw that causes
failure to stop Tx DMA, due to pending frames in hw
and also unnecessary beacon tasklet schedule.

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