瀏覽代碼

qcacld-3.0: Check rtt initiator FW caps

Currently rtt responder FW cap is checked while sending
the rtt initiator enable disable vdev param command
to the FW which is wrong.

To address this issue, check the rtt initiator FW cap
when host sends the rtt initiator enable disable command
to the FW.

Change-Id: Ib200d83bc91d791713eca91733ee2acc1968ac20
CRs-Fixed: 3458526
SACHIN AHUJA 2 年之前
父節點
當前提交
77cf56ab5a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/hdd/src/wlan_hdd_main.c

+ 1 - 1
core/hdd/src/wlan_hdd_main.c

@@ -6459,7 +6459,7 @@ hdd_vdev_configure_rtt_params(struct wlan_objmgr_vdev *vdev)
 	status = mlme_check_index_setparam(
 			vdevsetparam,
 			wmi_vdev_param_enable_disable_rtt_initiator_role,
-			(fine_time_meas_cap & wmi_fw_rtt_respr), index++,
+			(fine_time_meas_cap & wmi_fw_rtt_initr), index++,
 			MAX_VDEV_RTT_PARAMS);
 	if (QDF_IS_STATUS_ERROR(status))
 		return status;