]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 8 May 2017 09:23:50 +0000 (11:23 +0200)
commitf8860ce836f2d502b07ef99559707fe55d90f5bc
treec4c86a2e54ba42f8d9286187685c7979891a9e35
parent2f242bf45370b8ea44f209b22c3c90984655a102
mac80211: bail out from prep_connection() if a reconfig is ongoing

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>
net/mac80211/mlme.c