ath9k: stop ani when the STA gets disconnected.
authorSenthil Balasubramanian <senthilkumar@atheros.com>
Wed, 24 Jun 2009 13:26:40 +0000 (18:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:24 +0000 (15:02 -0400)
commitf38faa31e0da07390d72fb67d3151e56c54871f4
treeff6bad3601632d2c225dbb85d3f892969cd791a5
parent2664f201ef162224c775ecf7e33aee9c4cac62b0
ath9k: stop ani when the STA gets disconnected.

ANI is not required when the STA is disconnected. So stop it and enable
ANI for adhoc and monitor mode.

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