]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: don't send an unused argument to ieee80211_check_combinations
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sun, 11 Jan 2026 17:25:32 +0000 (19:25 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Jan 2026 18:42:39 +0000 (19:42 +0100)
commit33821a2b20b96886e8821ab7cd75b9e26c41b43d
tree05f17a239a2dd57f4ed30c3584e5361c2cf6280f
parentd66676e6ca96bf8680f869a9bd6573b26c634622
wifi: mac80211: don't send an unused argument to ieee80211_check_combinations

When ieee80211_check_combinations is called with NULL as the chandef,
the chanmode argument is not relevant. Send a don't care (0) instead.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260111192411.9aa743647b43.I407b3d878d94464ce01e25f16c6e2b687bcd8b5a@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c