]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: nl80211: reject S1G/60G with HT chantype
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 Mar 2026 12:01:06 +0000 (13:01 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Mar 2026 13:53:06 +0000 (14:53 +0100)
commitd3947aac97c3e57ee2f85fd1bef8e7674e609c45
tree9d5a333c76b71d1d2933eff99820db3a085fe6d5
parentcb0caadb64ca0894c4a24e1a34841f260d462f90
wifi: nl80211: reject S1G/60G with HT chantype

This configuration doesn't make sense, neither S1G nor
60G have 20 or 40 MHz channel width. Reject it to not
run into the new cfg80211_chandef_create() warning.

Fixes: 92d77e06e73c ("wifi: cfg80211: restrict cfg80211_chandef_create() to only HT-based bands")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c