瀏覽代碼

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 年之前
父節點
當前提交
8458a056db
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;