aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorNikolay Martynov <mar.kolya@gmail.com>2011-12-06 21:57:17 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-12-07 15:19:39 -0500
commit4f17c48e3902c823e4af68d2de9546f5b707533d (patch)
treedfad367f5794a011a80539a1aacdf94c899dbe56 /drivers/net/wireless/ath/ath9k/hw.c
parent4279425cef58808c0cdc616b8fff17c8308617bd (diff)
ath9k: enable ANI for ar9100 chips
Enable ANI for ar9100 since it seems to be working fine (and as a matter of fact ANI was always performed for ar9100 since code which was supposed to disable it didn't achieve this goal). This patch sets config.enable_ani to default (true) value for ar9100. Signed-off-by: Nikolay Martynov <mar.kolya@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 9871072bbf01..7f8fc65f2cb4 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -610,8 +610,8 @@ static int __ath9k_hw_init(struct ath_hw *ah)
610 if (!AR_SREV_9300_20_OR_LATER(ah)) 610 if (!AR_SREV_9300_20_OR_LATER(ah))
611 ah->ani_function &= ~ATH9K_ANI_MRC_CCK; 611 ah->ani_function &= ~ATH9K_ANI_MRC_CCK;
612 612
613 /* disable ANI for 9100 and 9340 */ 613 /* disable ANI for 9340 */
614 if (AR_SREV_9100(ah) || AR_SREV_9340(ah)) 614 if (AR_SREV_9340(ah))
615 ah->config.enable_ani = false; 615 ah->config.enable_ani = false;
616 616
617 ath9k_hw_init_mode_regs(ah); 617 ath9k_hw_init_mode_regs(ah);