]> www.infradead.org Git - users/willy/xarray.git/commit
mac80211: fix user-power when emulating chanctx
authorBen Greear <greearb@candelatech.com>
Thu, 10 Oct 2024 20:39:54 +0000 (13:39 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 25 Oct 2024 15:53:38 +0000 (17:53 +0200)
commit9b15c6cf8d2e82c8427cd06f535d8de93b5b995c
tree1cde691d486a9740d0a4f342c5be43758036f493
parentbfc0ed73e095cc3858d35731f191fa6e3d813262
mac80211: fix user-power when emulating chanctx

ieee80211_calc_hw_conf_chan was ignoring the configured
user_txpower.  If it is set, use it to potentially decrease
txpower as requested.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Link: https://patch.msgid.link/20241010203954.1219686-1-greearb@candelatech.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c