|
@@ -1542,7 +1542,7 @@ static int iwl_mvm_mac_hw_scan(struct ieee80211_hw *hw,
|
|
|
|
|
|
switch (mvm->scan_status) {
|
|
|
case IWL_MVM_SCAN_SCHED:
|
|
|
- ret = iwl_mvm_sched_scan_stop(mvm);
|
|
|
+ ret = iwl_mvm_sched_scan_stop(mvm, true);
|
|
|
if (ret) {
|
|
|
ret = -EBUSY;
|
|
|
goto out;
|
|
@@ -1882,7 +1882,7 @@ static int iwl_mvm_mac_sched_scan_stop(struct ieee80211_hw *hw,
|
|
|
int ret;
|
|
|
|
|
|
mutex_lock(&mvm->mutex);
|
|
|
- ret = iwl_mvm_sched_scan_stop(mvm);
|
|
|
+ ret = iwl_mvm_sched_scan_stop(mvm, false);
|
|
|
mutex_unlock(&mvm->mutex);
|
|
|
iwl_mvm_wait_for_async_handlers(mvm);
|
|
|
|