]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: cfg80211: check non-S1G width with S1G chandef
authorLachlan Hodges <lachlan.hodges@morsemicro.com>
Thu, 12 Mar 2026 04:58:04 +0000 (15:58 +1100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Mar 2026 06:14:26 +0000 (07:14 +0100)
commit7218d8e9d8485b08933d832615ca19760a8999cd
tree743bb4e4e532dad48a20665010893b544a3a63cc
parent92d77e06e73ca987b030cfed322e8421db1d6f41
wifi: cfg80211: check non-S1G width with S1G chandef

It is not valid to have an S1G chandef with a non-S1G width. Enforce
this during chandef validation.

Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Link: https://patch.msgid.link/20260312045804.362974-4-lachlan.hodges@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/chan.c