iwlwifi: mvm: don't stop sched scan in restart
authorDavid Spinadel <david.spinadel@intel.com>
Sun, 10 Nov 2013 13:42:08 +0000 (15:42 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 3 Feb 2014 20:23:34 +0000 (22:23 +0200)
Don't stop scheduled scan before reporting HW restart;
mac80211 was changed to reschedule it after reconfigure.

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

index 5e4d56e..734b022 100644 (file)
@@ -760,7 +760,7 @@ static void iwl_mvm_nic_restart(struct iwl_mvm *mvm)
                        ieee80211_scan_completed(mvm->hw, true);
                        break;
                case IWL_MVM_SCAN_SCHED:
-                       ieee80211_sched_scan_stopped(mvm->hw);
+                       /* Sched scan will be restarted by mac80211. */
                        break;
                }