nl80211: validate S1G channel width
authorKieran Frewen <kieran.frewen@morsemicro.com>
Wed, 20 Apr 2022 04:13:21 +0000 (04:13 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 4 May 2022 09:33:39 +0000 (11:33 +0200)
commit5d087aa759eb82b8208411913f6c2158bd85abc0
treee8a3b89b30e1b20fd31cb323dcd54ba0497ac6f9
parent5e469ed9764d4722c59562da13120bd2dc6834c5
nl80211: validate S1G channel width

Validate the S1G channel width input by user to ensure it matches
that of the requested channel

Signed-off-by: Kieran Frewen <kieran.frewen@morsemicro.com>
Signed-off-by: Bassem Dawood <bassem@morsemicro.com>
Link: https://lore.kernel.org/r/20220420041321.3788789-2-kieran.frewen@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c