Skip to content

Commit 77b2f28

Browse files
committed
iwlwifi: mvm: disable scheduled scan to prevent firmware crash
There are firmwares which don't support scheduled scan. Disable it for now. Linus's system encoutered this issue. Thanks to David Spinadel for his help. Tested-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
1 parent 2da2c58 commit 77b2f28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/wireless/iwlwifi/mvm/mac80211.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,8 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
396396
else
397397
hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
398398

399-
hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN;
399+
/* TODO: enable that only for firmwares that don't crash */
400+
/* hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_SCHED_SCAN; */
400401
hw->wiphy->max_sched_scan_ssids = PROBE_OPTION_MAX;
401402
hw->wiphy->max_match_sets = IWL_SCAN_MAX_PROFILES;
402403
/* we create the 802.11 header and zero length SSID IE. */

0 commit comments

Comments
 (0)