Procházet zdrojové kódy

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 před 2 roky
rodič
revize
77cf56ab5a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;