diff options
author | Ben Greear <greearb@candelatech.com> | 2024-10-10 13:40:36 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-10-23 17:36:49 +0200 |
commit | eaed5fc0c322d75cfcdbc7a16c0c5023d9e4f6fe (patch) | |
tree | 8b07fa90095051a22bf7378a087d299cd67f1a03 | |
parent | cadae7ead4434d6c4ca15fb74cc729fb868fcca3 (diff) |
mac80211: Remove NOP call to ieee80211_hw_config
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@candelatech.com>
Link: https://patch.msgid.link/20241010204036.1219896-1-greearb@candelatech.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | net/mac80211/iface.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/mac80211/iface.c b/net/mac80211/iface.c index 57f6fac343eb..a8fbedd530f4 100644 --- a/net/mac80211/iface.c +++ b/net/mac80211/iface.c @@ -67,7 +67,6 @@ bool __ieee80211_recalc_txpower(struct ieee80211_link_data *link) if (power != link->conf->txpower) { link->conf->txpower = power; - ieee80211_hw_config(link->sdata->local, 0); return true; } |