From: Ben Greear <greearb@xxxxxxxxxxxxxxx> If changed is '0', then the ieee80211_hw_config takes no action, so just remove the call in __ieee809211_recalc_txpower() Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx> --- net/mac80211/iface.c | 1 - 1 file changed, 1 deletion(-) diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 566edad36b0a..88e9e19d34ea 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -70,7 +70,6 @@ bool __ieee80211_recalc_txpower(struct ieee80211_sub_if_data *sdata) if (power != sdata->vif.bss_conf.txpower) { sdata->vif.bss_conf.txpower = power; - ieee80211_hw_config(sdata->local, 0); return true; } -- 2.42.0