ath9k: skip beaconing when reset work is pending
authorRajkumar Manoharan <rmanohar@qca.qualcomm.com>
Fri, 13 Apr 2012 11:14:21 +0000 (16:44 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:38:45 +0000 (14:38 -0400)
commit4e7fb7187d69132cf8223d4f8a49f86a6aba529d
tree3211b210eccb1ec248abe5655b9c4a2cfc3b1afa
parentaf1e8a6fb4051b8f34a49d00281f09ffcb1bd256
ath9k: skip beaconing when reset work is pending

Whenever the reset work is queued up, do not generate beacon. And also
clear the beacon miss count once the beacon stuck was observed.

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