Message ID | 54BB9129.5010103@broadcom.com (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
diff --git a/drivers/net/wireless/iwlwifi/mvm/ops.c b/drivers/net/wireless/iwlwi index 97dfba5..685217a 100644 --- a/drivers/net/wireless/iwlwifi/mvm/ops.c +++ b/drivers/net/wireless/iwlwifi/mvm/ops.c @@ -779,6 +779,9 @@ static bool iwl_mvm_set_hw_rfkill_state(struct iwl_op_mode * if (calibrating) iwl_abort_notification_waits(&mvm->notif_wait); + /* stop scheduled scan */ + iwl_mvm_scan_offload_stop(mvm, true); + /* * Stop the device if we run OPERATIONAL firmware or if we are