Revert "wifi: iwlwifi: abort scan when rfkill on but device enabled"

This reverts commit a2e13a5078.
This commit is contained in:
Ksawlii 2024-11-24 00:23:53 +01:00
parent 52f4f64489
commit 911ea2912e

View file

@ -2675,7 +2675,7 @@ int iwl_mvm_scan_stop(struct iwl_mvm *mvm, int type, bool notify)
if (!(mvm->scan_status & type))
return 0;
if (!test_bit(STATUS_DEVICE_ENABLED, &mvm->trans->status)) {
if (iwl_mvm_is_radio_killed(mvm)) {
ret = 0;
goto out;
}