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

Commit a54cb641 authored by Luciano Coelho's avatar Luciano Coelho Committed by Emmanuel Grumbach
Browse files

iwlwifi: mvm: small fix in a comment about UMAC scan schedules



The UMAC API supports multiple scan schedules, but now we use only a
single one.  Change the comment to make this clear and avoid
confusion.

Signed-off-by: default avatarLuciano Coelho <luciano.coelho@intel.com>
Reviewed-by: default avatarDavid Spinadel <david.spinadel@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent b8c474d9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1222,8 +1222,8 @@ static int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
	iwl_mvm_umac_scan_cfg_channels(mvm, params->channels,
				       params->n_channels, ssid_bitmap, cmd);

	/* With UMAC we can have only one schedule, so use the sum of
	 * the iterations (with a a maximum of 255).
	/* With UMAC we use only one schedule for now, so use the sum
	 * of the iterations (with a a maximum of 255).
	 */
	sec_part->schedule[0].iter_count =
		(n_iterations > 255) ? 255 : n_iterations;