]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c20b1226d2ea5b4db865c6a216164d4327ddfad
treebb8ccf4c9c8b7745c566a2daae70d02104cf2319
parenta586754cce68f589403b651e42cbd9d390db30c1
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