]> www.infradead.org Git - users/dwmw2/linux.git/commit
mac80211: bail out from prep_connection() if a reconfig is ongoing
authorLuca Coelho <luciano.coelho@intel.com>
Tue, 2 May 2017 14:56:21 +0000 (17:56 +0300)
committerSasha Levin <alexander.levin@microsoft.com>
Wed, 23 May 2018 01:36:22 +0000 (21:36 -0400)
commit20d3790f2a66abb36f8fcc984dfadd53c9a7e2de
tree5514c50909a155800d18f5a67d0a4d4197a936cf
parent4734188068bf9de8c61ee0e5b456ab0647a17d9f
mac80211: bail out from prep_connection() if a reconfig is ongoing

[ Upstream commit f8860ce836f2d502b07ef99559707fe55d90f5bc ]

If ieee80211_hw_restart() is called during authentication, the
authentication process will continue, causing the driver to be called
in a wrong state.  This ultimately causes an oops in the iwlwifi
driver (at least).

This fixes bugzilla 195299 partly.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195299
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
net/mac80211/mlme.c