wifi: mac80211: spectmgmt: simplify 6 GHz HE/EHT handling
authorJohannes Berg <johannes.berg@intel.com>
Tue, 12 Mar 2024 10:20:48 +0000 (11:20 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Mar 2024 14:36:36 +0000 (15:36 +0100)
commit5930a9967c78152f00f591c7d0a73c2d117e448a
treecaff533a299d31852aacf5ae36cce45c76e91a61
parentb919099eba0ae302231637a784aabc5a87ed0d48
wifi: mac80211: spectmgmt: simplify 6 GHz HE/EHT handling

Clean up the code here a bit to have only a single call
to ieee80211_chandef_he_6ghz_oper() by using a local
pointer variable for the difference.

Link: https://msgid.link/20240312112048.94c421d767f9.Ia7ca2f315b392c74d39b44fa9eb872a2e62e75c1@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/spectmgmt.c