]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: simplify ieee80211_recalc_chanctx_min_def() API
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Nov 2025 15:03:44 +0000 (16:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 10 Nov 2025 09:38:50 +0000 (10:38 +0100)
commit52363af3a9c989e8d8d6f8a2343a7f669e53a57f
treeb17b4a37e3c0c4e5df74a509fd708bd23e563dd4
parenta1dc648aa76d61d8e75692cecea043b1bfdfeda6
wifi: mac80211: simplify ieee80211_recalc_chanctx_min_def() API

ieee80211_recalc_chanctx_min_def() is used outside the chandef
code, but then should/is always used with NULL/false for the
two last arguments. Remove them, and create another level of
indirection for use inside the file.

Link: https://patch.msgid.link/20251105160431.33408844c392.I4f52298861780c17a27cd229609e8a3e29c8d740@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c
net/mac80211/he.c
net/mac80211/ieee80211_i.h
net/mac80211/util.c