From: Gabor Juhos Date: Tue, 21 Jun 2011 09:23:49 +0000 (+0200) Subject: ath9k: configure diversity based on eeprom contents for AR9330 X-Git-Tag: MMI-PSA29.97-13-9~18350^2~12^2~42^2~340 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b09e49ec822fe2bee34b45af89c72beed254a23;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ath9k: configure diversity based on eeprom contents for AR9330 Signed-off-by: Gabor Juhos Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c index 7ea5105764d0..666a17438012 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) } } - if (AR_SREV_9485(ah)) { + if (AR_SREV_9330(ah) || AR_SREV_9485(ah)) { value = ath9k_hw_ar9300_get_eeprom(ah, EEP_ANT_DIV_CTL1); /* * main_lnaconf, alt_lnaconf, main_tb, alt_tb