1 --- a/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
3 @@ -2133,6 +2133,7 @@ static void ath9k_hw_ar9300_set_txpower(
4 u8 twiceMaxRegulatoryPower,
7 + struct ath_regulatory *regulatory = ath9k_hw_regulatory(ah);
8 struct ath_common *common = ath9k_hw_common(ah);
9 u8 targetPowerValT2[ar9300RateSize];
11 @@ -2180,6 +2181,7 @@ static void ath9k_hw_ar9300_set_txpower(
12 i = ALL_TARGET_HT20_0_8_16; /* ht20 */
14 ah->txpower_limit = targetPowerValT2[i];
15 + regulatory->max_power_level = ratesArray[i];
17 ar9003_hw_calibration_apply(ah, chan->channel);