[BUGFIX] 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().

type=bugfix
bug=not-tracked
fixes=unknown

Change-Id: I77eff7bad23024a5a5bb0a17cd09b4a7f9da3d19
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
x-iwlwifi-stack-dev: 822961b5a74de1602573b1d6cac247b0567bd2e0
2 files changed