Pārlūkot izejas kodu

qcacmn: Fix to set TLV header correctly for coex config command

TLV header is incorrectly set for coex config command due to wrong
TLV length passed to the set TLV header API.

Fix issue by setting TLV header passing correct TLV length.

Change-Id: Ica3e2468d26bdaed26cade048f4d440c067ad929
CRs-Fixed: 2037499
Sathish Kumar 8 gadi atpakaļ
vecāks
revīzija
8458a056db
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      wmi_unified_tlv.c

+ 1 - 1
wmi_unified_tlv.c

@@ -11471,7 +11471,7 @@ send_coex_config_cmd_tlv(wmi_unified_t wmi_handle,
 	WMITLV_SET_HDR(&cmd->tlv_header,
 		       WMITLV_TAG_STRUC_WMI_COEX_CONFIG_CMD_fixed_param,
 		       WMITLV_GET_STRUCT_TLVLEN(
-		       WMITLV_TAG_STRUC_WMI_COEX_CONFIG_CMD_fixed_param));
+		       WMI_COEX_CONFIG_CMD_fixed_param));
 
 	cmd->vdev_id = param->vdev_id;
 	cmd->config_type = param->config_type;