mac80211: run scan completed work on reconfig failure
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Dec 2015 14:04:38 +0000 (16:04 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Dec 2015 12:12:50 +0000 (13:12 +0100)
commit74430f9489a3b6116a5c144eea2bc62cd52012f6
tree096c0e6a272326a0a2dcf11aba840cc9715f6bb1
parent707554b4d117330e58374990b6c27ded650dc684
mac80211: run scan completed work on reconfig failure

When reconfiguration during resume fails while a scan is pending
for completion work, that work will never run, and the scan will
be stuck forever. Factor out the code to recover this and call it
also in ieee80211_handle_reconfig_failure().

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/util.c