summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorGabor Juhos2011-06-21 11:23:36 +0200
committerJohn W. Linville2011-06-22 22:09:53 +0200
commit7dc5966d5c4a1bc48f1eca01403b187960ad72f4 (patch)
treef60f4e26771d8e84e143c8cc300e317789a9ee5c /drivers
parentath9k: enable TX/RX data byte swap for AR9330 (diff)
downloadkernel-qcow2-linux-7dc5966d5c4a1bc48f1eca01403b187960ad72f4.tar.gz
kernel-qcow2-linux-7dc5966d5c4a1bc48f1eca01403b187960ad72f4.tar.xz
kernel-qcow2-linux-7dc5966d5c4a1bc48f1eca01403b187960ad72f4.zip
ath9k: skip internal regulator configuration for AR9330
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-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 2e370c668d4e..c5e031d87771 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3795,7 +3795,7 @@ static void ath9k_hw_ar9300_set_board_values(struct ath_hw *ah,
ar9003_hw_ant_ctrl_apply(ah, IS_CHAN_2GHZ(chan));
ar9003_hw_drive_strength_apply(ah);
ar9003_hw_atten_apply(ah, chan);
- if (!AR_SREV_9340(ah))
+ if (!AR_SREV_9330(ah) && !AR_SREV_9340(ah))
ar9003_hw_internal_regulator_apply(ah);
if (AR_SREV_9485(ah) || AR_SREV_9340(ah))
ar9003_hw_apply_tuning_caps(ah);