Skip to content

Commit

Permalink
ath9k: Configure AR_PHY_SWITCH_COM with apropriate antenna control
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vasanthakumar Thiagarajan authored and John W. Linville committed Nov 25, 2008
1 parent ced0957 commit 4d3601b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/ath9k/eeprom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ bool ath9k_hw_eeprom_set_board_values(struct ath_hal *ah,

txRxAttenLocal = IS_CHAN_2GHZ(chan) ? 23 : 44;

ath9k_hw_get_eeprom_antenna_cfg(ah, chan, 1, &ant_config);
ath9k_hw_get_eeprom_antenna_cfg(ah, chan, 0, &ant_config);
REG_WRITE(ah, AR_PHY_SWITCH_COM, ant_config);

for (i = 0; i < AR5416_MAX_CHAINS; i++) {
Expand Down

0 comments on commit 4d3601b

Please sign in to comment.