소스 검색

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;