From 114c654e691edbcc19c56606e3c0d06c434e8d4f Mon Sep 17 00:00:00 2001 From: Arun Kumar Khandavalli Date: Mon, 13 Sep 2021 23:07:33 +0530 Subject: [PATCH] qcacmn: Use the right wmi macro to set the htt peer data version Currently WMI_TARGET_CAP_FLAGS_RX_PEER_METADATA_VERSION_SET is used to the htt peer data version, this looks like is for the firmware and host should use WMI_RSRC_CFG_FLAGS2_RX_PEER_METADATA_VERSION_SET macro to send back this infromation back to the firmware. Correct the macro to se the htt peer data version to the firmware. Change-Id: I06cb86eaa05eda45fb524c77acce3248c90498d6 CRs-Fixed: 3032308 --- wmi/src/wmi_unified_tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wmi/src/wmi_unified_tlv.c b/wmi/src/wmi_unified_tlv.c index 2a7da6a09c..5b588000b4 100644 --- a/wmi/src/wmi_unified_tlv.c +++ b/wmi/src/wmi_unified_tlv.c @@ -7609,7 +7609,7 @@ void wmi_copy_resource_config(wmi_resource_config *resource_cfg, WMI_RSRC_CFG_HOST_SERVICE_FLAG_STA_TWT_SYNC_EVT_SUPPORT_SET( resource_cfg->host_service_flags, 1); - WMI_TARGET_CAP_FLAGS_RX_PEER_METADATA_VERSION_SET(resource_cfg->flags2, + WMI_RSRC_CFG_FLAGS2_RX_PEER_METADATA_VERSION_SET(resource_cfg->flags2, tgt_res_cfg->target_cap_flags); }