ath9k_hw: fix XPABIASLEVEL settings for AR9531
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Tue, 24 Jun 2014 16:57:38 +0000 (22:27 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 25 Jun 2014 19:40:38 +0000 (15:40 -0400)
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c

index 235053ba773765392d08427916bfb398ff52d053..80c6eacbda53349727fe4bfba72e32eb2abe28fd 100644 (file)
@@ -3535,7 +3535,8 @@ static void ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz)
 {
        int bias = ar9003_modal_header(ah, is2ghz)->xpaBiasLvl;
 
-       if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah))
+       if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah) ||
+           AR_SREV_9531(ah))
                REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias);
        else if (AR_SREV_9462(ah) || AR_SREV_9550(ah) || AR_SREV_9565(ah))
                REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);