]> 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)
commitd601ca0911e264c565fe74cf0b5f8b7c2de0e62c
treebb8ccf4c9c8b7745c566a2daae70d02104cf2319
parent82259e8ecb36d93f349ecc82053db15c76ae28db
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