iwlwifi: mvm: ToF - Set correct range request cmd id
authorAssaf Krauss <assaf.krauss@intel.com>
Wed, 22 Jul 2015 11:21:31 +0000 (14:21 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 4 Aug 2015 18:30:15 +0000 (21:30 +0300)
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>
drivers/net/wireless/iwlwifi/mvm/tof.c

index d060e12c3239b06abc2d9615f4bcfccaf67a2cec..380972f8fb8281647b3c278d8b7b51dec306a008 100644 (file)
@@ -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, },