summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJohannes Berg2009-11-02 13:32:03 +0100
committerJohn W. Linville2009-11-02 21:43:29 +0100
commit584991dccfd347cd2e1675ab262998f6c335d3c0 (patch)
tree0cb52e1f06e587561f0e06e1beae7de7faaf5528 /drivers
parentmac80211_hwsim: Send ACK frames on the hwsim0 interface (diff)
downloadkernel-qcow2-linux-584991dccfd347cd2e1675ab262998f6c335d3c0.tar.gz
kernel-qcow2-linux-584991dccfd347cd2e1675ab262998f6c335d3c0.tar.xz
kernel-qcow2-linux-584991dccfd347cd2e1675ab262998f6c335d3c0.zip
cfg80211: validate scan channels
Currently it is possible to request a scan on only disabled channels, which could be problematic for some drivers. Reject such scans, and also ignore disabled channels that are given. This resuls in the scan begin/end event only including channels that are actually used. This makes the mac80211 check for disabled channels superfluous. At the same time, remove the no-IBSS check from mac80211 -- nothing says that we should not find any networks on channels that cannot be used for an IBSS, even when operating in IBSS mode. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions