]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit47400b99eeefcc55ddc6647090e5274c13657bc6
tree096c0e6a272326a0a2dcf11aba840cc9715f6bb1
parent6ccbb6fea47d91608341a7d335cdaa14a5fbe06b
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