4f8d84128acd96009295ade0970844ad0c1a14fa
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 558-ath9k-configure-xpa-bias-level-for-AR9330.patch
1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
2 index d7741d2..b3351f6 100644
3 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
4 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
5 @@ -3444,7 +3444,7 @@ static void ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz)
6 {
7 int bias = ar9003_hw_xpa_bias_level_get(ah, is2ghz);
8
9 - if (AR_SREV_9485(ah) || AR_SREV_9340(ah))
10 + if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah))
11 REG_RMW_FIELD(ah, AR_CH0_TOP2, AR_CH0_TOP2_XPABIASLVL, bias);
12 else {
13 REG_RMW_FIELD(ah, AR_CH0_TOP, AR_CH0_TOP_XPABIASLVL, bias);
14