diff options
author | 2020-10-05 09:51:22 -0700 | |
---|---|---|
committer | 2020-10-08 10:41:24 +0200 | |
commit | c1cd35c6060140cebf85f43f8c702abef9eca997 (patch) | |
tree | 61745484d1da727b1d4a24249e0f309f7362dd70 /scripts/bpf_helpers_doc.py | |
parent | mac80211: initialize last_rate for S1G STAs (diff) | |
download | linux-dev-c1cd35c6060140cebf85f43f8c702abef9eca997.tar.xz linux-dev-c1cd35c6060140cebf85f43f8c702abef9eca997.zip |
cfg80211: only allow S1G channels on S1G band
As discovered by syzbot, cfg80211 was accepting S1G
channel widths on non-S1G bands. Add a check for this, and
consolidate the 1MHz frequency check as it ends up being a
subset of the others.
Reported-by: syzbot+92715a0eccd6c881bc32@syzkaller.appspotmail.com
Fixes: 11b34737b18a ("nl80211: support setting S1G channels")
Signed-off-by: Thomas Pedersen <thomas@adapt-ip.com>
Link: https://lore.kernel.org/r/20201005165122.17583-1-thomas@adapt-ip.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions