diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2017-05-16 11:23:13 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-05-19 13:26:05 +0200 |
commit | 0ab2e55d33346972297972dd6bb4623159a1b239 (patch) | |
tree | 8e8c3aba76b625bff9f61a590f95ca15632a51b8 /net/mac80211/cfg.c | |
parent | 8d9de16f80d35f12198496640c4f09d35fd77715 (diff) | |
download | lwn-0ab2e55d33346972297972dd6bb4623159a1b239.tar.gz lwn-0ab2e55d33346972297972dd6bb4623159a1b239.zip |
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>
Diffstat (limited to 'net/mac80211/cfg.c')
-rw-r--r-- | net/mac80211/cfg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c index 6c2e6060cd54..6980a936a437 100644 --- a/net/mac80211/cfg.c +++ b/net/mac80211/cfg.c @@ -1874,6 +1874,7 @@ static int copy_mesh_setup(struct ieee80211_if_mesh *ifmsh, ifmsh->user_mpm = setup->user_mpm; ifmsh->mesh_auth_id = setup->auth_id; ifmsh->security = IEEE80211_MESH_SEC_NONE; + ifmsh->userspace_handles_dfs = setup->userspace_handles_dfs; if (setup->is_authenticated) ifmsh->security |= IEEE80211_MESH_SEC_AUTHED; if (setup->is_secure) |