]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: always use full chanctx compatible check
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Mar 2026 14:26:18 +0000 (15:26 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Mar 2026 06:11:14 +0000 (07:11 +0100)
commitf932856649b07529d9dbd0f2f7fb7fcc5b929858
treed2cef2cfcc7e2f8e26f9f1da103ae6305ad96f50
parentba9d121f85771cce38012d1bee59d7399250e4a5
wifi: mac80211: always use full chanctx compatible check

For NPCA, we need to treat the channel request differently
for AP and other interfaces (APs can share NPCA, under the
assumption that userspace will set them up with the same
BSS color.) This is difficult if we have to check against
a chanreq made up from the chanctx, but this isn't a code
path that needs to be highly optimised, so just always use
the (originally) recheck functionality to check against
all users of the chanctx.

Link: https://patch.msgid.link/20260303152641.1a3ff6ead82b.I486f1a94b9a32e0b045815cbbb22679c8cef56e4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/chan.c