Message ID | 20241010203907.1219448-1-greearb@candelatech.com (mailing list archive) |
---|---|
State | New |
Delegated to: | Felix Fietkau |
Headers | show |
Series | wifi: mt76: mt7996: Apply power change in bss_info_changed | expand |
diff --git a/drivers/net/wireless/mediatek/mt76/mt7996/main.c b/drivers/net/wireless/mediatek/mt76/mt7996/main.c index 92aea65a8be8..cf15ffa7a3de 100644 --- a/drivers/net/wireless/mediatek/mt76/mt7996/main.c +++ b/drivers/net/wireless/mediatek/mt76/mt7996/main.c @@ -797,6 +797,9 @@ static void mt7996_bss_info_changed(struct ieee80211_hw *hw, if (changed & BSS_CHANGED_MU_GROUPS) mt7996_update_mu_group(hw, vif, info); + if (changed & BSS_CHANGED_TXPOWER) + mt7996_mcu_set_txpower_sku(phy); + mutex_unlock(&dev->mt76.mutex); }