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
This commit is contained in:
Arun Kumar Khandavalli
2021-09-13 23:07:33 +05:30
committed by Madan Koyyalamudi
parent acbec267ec
commit 114c654e69

View File

@@ -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);
}