mac80211: do not actively scan DFS channels
authorAntonio Quartulli <antonio@meshcoding.com>
Sat, 21 Nov 2015 10:13:40 +0000 (18:13 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 2 Dec 2015 21:27:53 +0000 (22:27 +0100)
commit4e39ccac0d678eacb5dd6ffc5057531af33c12d6
treebb8ccf4c9c8b7745c566a2daae70d02104cf2319
parent835112b28919d88d989a0a9313e323ad82e18b59
mac80211: do not actively scan DFS channels

DFS channels should not be actively scanned as we can't be sure
if we are allowed or not.

If the current channel is in the DFS band, active scan might be
performed after CSA, but we have no guarantee about other channels,
therefore it is safer to prevent active scanning at all.

Cc: stable@vger.kernel.org
Signed-off-by: Antonio Quartulli <antonio@open-mesh.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/scan.c