diff options
author | Johannes Berg <johannes.berg@intel.com> | 2019-02-01 11:09:54 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2019-02-01 11:12:50 +0100 |
commit | e005bd7ddea06784c1eb91ac5bb6b171a94f3b05 (patch) | |
tree | d8a6b6700f93ca68a28b561caa5ade448ac668ea /net/wireless/core.h | |
parent | 9d0f50b80222dc273e67e4e14410fcfa4130a90c (diff) | |
download | linux-stable-e005bd7ddea06784c1eb91ac5bb6b171a94f3b05.tar.gz linux-stable-e005bd7ddea06784c1eb91ac5bb6b171a94f3b05.tar.bz2 linux-stable-e005bd7ddea06784c1eb91ac5bb6b171a94f3b05.zip |
cfg80211: call disconnect_wk when AP stops
Since we now prevent regulatory restore during STA disconnect
if concurrent AP interfaces are active, we need to reschedule
this check when the AP state changes. This fixes never doing
a restore when an AP is the last interface to stop. Or to put
it another way: we need to re-check after anything we check
here changes.
Cc: stable@vger.kernel.org
Fixes: 113f3aaa81bd ("cfg80211: Prevent regulatory restore during STA disconnect in concurrent interfaces")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index c5d6f3418601..f6b40563dc63 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -445,6 +445,8 @@ void cfg80211_process_wdev_events(struct wireless_dev *wdev); bool cfg80211_does_bw_fit_range(const struct ieee80211_freq_range *freq_range, u32 center_freq_khz, u32 bw_khz); +extern struct work_struct cfg80211_disconnect_work; + /** * cfg80211_chandef_dfs_usable - checks if chandef is DFS usable * @wiphy: the wiphy to validate against |