summaryrefslogtreecommitdiffstats
path: root/net/smc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2018-01-15 09:32:36 +0100
committerJohannes Berg <johannes.berg@intel.com>2018-01-15 09:34:45 +0100
commit51a1aaa631c90223888d8beac4d649dc11d2ca55 (patch)
tree752cda62d1295f7e15553e4000461cb8f4142f54 /net/smc
parentb71d856ab536f25eb97c011a351ecddf5518de41 (diff)
downloadlinux-stable-51a1aaa631c90223888d8beac4d649dc11d2ca55.tar.gz
linux-stable-51a1aaa631c90223888d8beac4d649dc11d2ca55.tar.bz2
linux-stable-51a1aaa631c90223888d8beac4d649dc11d2ca55.zip
mac80211_hwsim: validate number of different channels
When creating a new radio on the fly, hwsim allows this to be done with an arbitrary number of channels, but cfg80211 only supports a limited number of simultaneous channels, leading to a warning. Fix this by validating the number - this requires moving the define for the maximum out to a visible header file. Reported-by: syzbot+8dd9051ff19940290931@syzkaller.appspotmail.com Fixes: b59ec8dd4394 ("mac80211_hwsim: fix number of channels in interface combinations") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions