Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f70ed7b3 authored by Ilan Peer's avatar Ilan Peer Committed by Johannes Berg
Browse files

iwlwifi: mvm: Always use SCAN_TYPE_FORCED



The FW AUX framework does not handle well cases where time events
fail to be scheduled (and as a result issues assert 0x3330). Until
a proper fix is in place, WA this by always setting the scan type to
SCAN_TYPE_FORCED.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarIlan Peer <ilan.peer@intel.com>
Reviewed-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 61f15982
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -298,6 +298,12 @@ int iwl_mvm_scan_request(struct iwl_mvm *mvm,
	else
	else
		cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);
		cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);


	/*
	 * TODO: This is a WA due to a bug in the FW AUX framework that does not
	 * properly handle time events that fail to be scheduled
	 */
	cmd->type = cpu_to_le32(SCAN_TYPE_FORCED);

	cmd->repeats = cpu_to_le32(1);
	cmd->repeats = cpu_to_le32(1);


	/*
	/*