Quellcode durchsuchen

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
Arun Kumar Khandavalli vor 3 Jahren
Ursprung
Commit
114c654e69
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      wmi/src/wmi_unified_tlv.c

+ 1 - 1
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);
 }