]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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:09:42 +0000 (08:09 +0200)
commitd2aab1140bd37e5bbfbc03152243701ff832d2ba
treeab1368b8096378af3dd1a722f07acdc8ff0b5c94
parentb88d16425319b2f2d51b12bd5cca739b5ac3a37d
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