diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2008-11-14 14:19:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-25 16:41:40 -0500 |
commit | 4d3601b234a51fdd268c8ef8068d239e26dd7ef1 (patch) | |
tree | 268799edd2a335686a0705fcf7d56efdee3d3d5c | |
parent | ced0957442af69c5c41b00db85a933ed7876cc40 (diff) |
ath9k: Configure AR_PHY_SWITCH_COM with apropriate antenna control
This fixes the poor wireless connection which happens even
if we are very well in the range.
Signed-off-by: Don.breslin@atheros.com
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath9k/eeprom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.c b/drivers/net/wireless/ath9k/eeprom.c index 180e54114659..466dbce2c5f7 100644 --- a/drivers/net/wireless/ath9k/eeprom.c +++ b/drivers/net/wireless/ath9k/eeprom.c | |||
@@ -1244,7 +1244,7 @@ bool ath9k_hw_eeprom_set_board_values(struct ath_hal *ah, | |||
1244 | 1244 | ||
1245 | txRxAttenLocal = IS_CHAN_2GHZ(chan) ? 23 : 44; | 1245 | txRxAttenLocal = IS_CHAN_2GHZ(chan) ? 23 : 44; |
1246 | 1246 | ||
1247 | ath9k_hw_get_eeprom_antenna_cfg(ah, chan, 1, &ant_config); | 1247 | ath9k_hw_get_eeprom_antenna_cfg(ah, chan, 0, &ant_config); |
1248 | REG_WRITE(ah, AR_PHY_SWITCH_COM, ant_config); | 1248 | REG_WRITE(ah, AR_PHY_SWITCH_COM, ant_config); |
1249 | 1249 | ||
1250 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { | 1250 | for (i = 0; i < AR5416_MAX_CHAINS; i++) { |