From: Ben Greear <greearb@xxxxxxxxxxxxxxx> Re-calculate txpower if bss_info_changed flags it as needing to be changed. Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- I found this while looking at other txpower issues. This didn't actually fix the problem I found, possibly it is not needed? drivers/net/wireless/mediatek/mt76/mt7996/main.c | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.42.0