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/sme.c | |
parent | mac80211: ensure that mgmt tx skbs have tailroom for encryption (diff) | |
download | linux-e005bd7ddea06784c1eb91ac5bb6b171a94f3b05.tar.xz linux-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/sme.c')
-rw-r--r-- | net/wireless/sme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/wireless/sme.c b/net/wireless/sme.c index f741d8376a46..7d34cb884840 100644 --- a/net/wireless/sme.c +++ b/net/wireless/sme.c @@ -667,7 +667,7 @@ static void disconnect_work(struct work_struct *work) rtnl_unlock(); } -static DECLARE_WORK(cfg80211_disconnect_work, disconnect_work); +DECLARE_WORK(cfg80211_disconnect_work, disconnect_work); /* |