ath9k: Stop ANI when doing a reset
commit2ab81d4a9a5ecb13d343269b3cdf5d975c81c570
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 14 Dec 2009 11:04:56 +0000 (14 16:34 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Dec 2009 16:32:20 +0000 (21 11:32 -0500)
tree81e04d7fa339d0b1e501eef6adb9547159a8b998
parente8009e9850d59000d518296af372888911a129bd
ath9k: Stop ANI when doing a reset

The MIB counters are disabled when doing a chip reset.
Since ANI depends on the MIB registers for its operation, relying
on the contents of said registers during HW reset results in sub-optimal
performance.

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