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

Commit eed6e971 authored by Assaf Krauss's avatar Assaf Krauss Committed by Emmanuel Grumbach
Browse files

iwlwifi: mvm: ToF - Set correct range request cmd id



Command ID of ToF range request command adapted to new FW commands grouping
scheme.

Signed-off-by: default avatarAssaf Krauss <assaf.krauss@intel.com>
Reviewed-by: default avatarGregory Greenman <gregory.greenman@intel.com>
Signed-off-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
parent e1120187
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -194,7 +194,7 @@ int iwl_mvm_tof_range_request_cmd(struct iwl_mvm *mvm,
				  struct ieee80211_vif *vif)
{
	struct iwl_host_cmd cmd = {
		.id = TOF_CMD,
		.id = iwl_cmd_id(TOF_CMD, IWL_ALWAYS_LONG_GROUP, 0),
		.len = { sizeof(mvm->tof_data.range_req), },
		/* no copy because of the command size */
		.dataflags = { IWL_HCMD_DFL_NOCOPY, },