iwlwifi: mvm: notify scan completed even if no fw_restart
authorDavid Spinadel <david.spinadel@intel.com>
Thu, 9 Jan 2014 12:22:55 +0000 (14:22 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:34 +0000 (22:23 +0200)
commit992f81fcd97e87e7ebbb26e544430adf483203f0
treed7649ff1ec208de79f281d5ca722d35692764fef
parentdf8fe3aed04a158ea657724209081c8322f8eac1
iwlwifi: mvm: notify scan completed even if no fw_restart

Notify scan completed if fw_restart flow isn't going to be run.
Otherwise, the scan will stay stack forever and mac80211 will
not be able to remove the interface.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/ops.c
drivers/net/wireless/iwlwifi/mvm/scan.c