ath9k_hw: Restore ANI registers to default during partial reset for AR9271
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 3 Sep 2010 10:30:00 +0000 (16:00 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Sep 2010 17:54:34 +0000 (13:54 -0400)
commitc2ba33424600e742f4d44ba2237024e6322a00fa
tree93b56c34cd06a705254845601474eb0eb8e8daeb
parent7cf1f2dd7de98e9a18536ab885d28ecb57e76cb1
ath9k_hw: Restore ANI registers to default during partial reset for AR9271

For AR9271 chips, if partial reset is done while scanning, the cycpwrThr1
will be set to maximum. This causes the degrade in DL throughput.
So restore the ANI registers to default during the partial reset.

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