cfg80211: fix dfs channels remain DFS_AVAILABLE after ch_switch
authorMichael Vassernis <michael.vassernis@tandemg.com>
Mon, 29 Jul 2019 06:01:16 +0000 (06:01 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 29 Jul 2019 14:34:41 +0000 (16:34 +0200)
commitd34990bbc25559fa1af5e23759c65a3951cbc956
tree8145a0a665270148b247704bea372451b7c744a8
parent0afd425b1b64251f19b5d8d8b49bf56fefbc643f
cfg80211: fix dfs channels remain DFS_AVAILABLE after ch_switch

Depending on the regulatory domain, leaving a DFS channel requires
a new CAC to be performed when returning back to that channel.
If needed, update dfs states after a driver channel switch.

Signed-off-by: Michael Vassernis <michael.vassernis@tandemg.com>
Link: https://lore.kernel.org/r/20190729060024.5660-1-michael.vassernis@tandemg.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/nl80211.c