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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user