]> www.infradead.org Git - users/dwmw2/linux.git/commit
wifi: nl80211: disallow setting special AP channel widths
authorJohannes Berg <johannes.berg@intel.com>
Wed, 15 May 2024 12:16:00 +0000 (14:16 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 08:21:17 +0000 (10:21 +0200)
commit23daf1b4c91db9b26f8425cc7039cf96d22ccbfe
tree2a67b650ce5cdcc1ac7b357bf01d614d274be536
parent9d222c12834d80849afbad7b42822b8ffbbc025f
wifi: nl80211: disallow setting special AP channel widths

Setting the AP channel width is meant for use with the normal
20/40/... MHz channel width progression, and switching around
in S1G or narrow channels isn't supported. Disallow that.

Reported-by: syzbot+bc0f5b92cc7091f45fb6@syzkaller.appspotmail.com
Link: https://msgid.link/20240515141600.d4a9590bfe32.I19a32d60097e81b527eafe6b0924f6c5fbb2dc45@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c