]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
ath9k_hw: Skip internal regulator configuration for AR9340
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Tue, 19 Apr 2011 13:59:12 +0000 (19:29 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 25 Apr 2011 18:50:11 +0000 (14:50 -0400)
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

index 685ce91fb71eb909c4ad7511adaa2418bcd38840..6e5baa7b40c61bb91ba2d138f81b8d9b9e6bb480 100644 (file)
@@ -3753,7 +3753,8 @@ 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);
-       ar9003_hw_internal_regulator_apply(ah);
+       if (!AR_SREV_9340(ah))
+               ar9003_hw_internal_regulator_apply(ah);
        if (AR_SREV_9485(ah))
                ar9003_hw_apply_tuning_caps(ah);
 }