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 5e4d56ed88a41c99c34c5cd2197b08d38e7c3f45..734b022d339aa38763fe94f6a02ed71072185d86 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;
                }