mac80211: do not start any work during reconfigure flow
authorNaftali Goldstein <naftali.goldstein@intel.com>
Wed, 29 May 2019 12:25:30 +0000 (15:25 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jul 2019 06:11:11 +0000 (08:11 +0200)
commitba0afe520ee9c41670c30f9f4ea7669561dff1bb
tree9f3b5438e7025b25327f470b18e9b0069a8b029d
parentde8cf2c0bc6414af3e27a2f33d27e1671cd2e5af
mac80211: do not start any work during reconfigure flow

[ Upstream commit f8891461a277ec0afc493fd30cd975a38048a038 ]

It is not a good idea to try to perform any work (e.g. send an auth
frame) during reconfigure flow.

Prevent this from happening, and at the end of the reconfigure flow
requeue all the works.

Signed-off-by: Naftali Goldstein <naftali.goldstein@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/ieee80211_i.h
net/mac80211/util.c