ath9k_htc: Enable ANI in associated state only
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 27 Aug 2010 06:39:00 +0000 (12:09 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Aug 2010 17:27:06 +0000 (13:27 -0400)
commitfe67470ddd075cb7d538de1570950da3c0f67e65
tree3c29ca8b428f1d9bf69e69de76d773b53dcae196
parent0ec2f2724d7e457b91e5983d11db8adba9aad47e
ath9k_htc: Enable ANI in associated state only

While scanning, ANI is triggered unnecessarily where sta is in
unassociated state. And cancelling ani work in ath9k_htc_stop
is not required.

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