summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAssaf Krauss <assaf.krauss@intel.com>2015-07-22 14:21:31 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-08-04 21:30:15 +0300
commiteed6e971973667d067d510e9540773ff0f9fe8fd (patch)
tree9983e54c0cbff9ff9a1d55f8b98033b552e67de4
parente112018776a88b1e9c31fff3c6a9341c4f37c358 (diff)
downloadlinux-eed6e971973667d067d510e9540773ff0f9fe8fd.tar.gz
linux-eed6e971973667d067d510e9540773ff0f9fe8fd.tar.bz2
linux-eed6e971973667d067d510e9540773ff0f9fe8fd.zip
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: Assaf Krauss <assaf.krauss@intel.com> Reviewed-by: Gregory Greenman <gregory.greenman@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/tof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/tof.c b/drivers/net/wireless/iwlwifi/mvm/tof.c
index d060e12c3239..380972f8fb82 100644
--- a/drivers/net/wireless/iwlwifi/mvm/tof.c
+++ b/drivers/net/wireless/iwlwifi/mvm/tof.c
@@ -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, },