mac80211: mesh: Allow following CSA to DFS channels if userspace handles it
authorBenjamin Berg <benjamin@sipsolutions.net>
Tue, 16 May 2017 09:23:13 +0000 (11:23 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 19 May 2017 11:26:05 +0000 (13:26 +0200)
commit0ab2e55d33346972297972dd6bb4623159a1b239
tree8e8c3aba76b625bff9f61a590f95ca15632a51b8
parent8d9de16f80d35f12198496640c4f09d35fd77715
mac80211: mesh: Allow following CSA to DFS channels if userspace handles it

If userspace has flagged support for DFS earlier, then we can follow CSA
to DFS channels. So instead of rejecting the switch, allow it to happen
if the flag has been set during mesh setup.

Signed-off-by: Benjamin Berg <benjamin@sipsolutions.net>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mesh.c