aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2011-06-21 05:23:49 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-22 16:09:57 -0400
commit7b09e49ec822fe2bee34b45af89c72beed254a23 (patch)
tree9c421416971423d2cf5e63483e476f9b166fadb2 /drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
parentdfc3a7b66c963dfadcd0103c71b6bdaab9b2f738 (diff)
ath9k: configure diversity based on eeprom contents for AR9330
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_eeprom.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_eeprom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
index 7ea5105764d..666a1743801 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3525,7 +3525,7 @@ static void ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz)
3525 } 3525 }
3526 } 3526 }
3527 3527
3528 if (AR_SREV_9485(ah)) { 3528 if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) {
3529 value = ath9k_hw_ar9300_get_eeprom(ah, EEP_ANT_DIV_CTL1); 3529 value = ath9k_hw_ar9300_get_eeprom(ah, EEP_ANT_DIV_CTL1);
3530 /* 3530 /*
3531 * main_lnaconf, alt_lnaconf, main_tb, alt_tb 3531 * main_lnaconf, alt_lnaconf, main_tb, alt_tb