From 029b9ea2997227b172ff70945079018d91b2ee01 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Date: Wed, 25 Jan 2017 12:46:21 -0800 Subject: [PATCH] qcacmn: Change WMI API's event_buf length type to uint32_t Change all the WMI API's event buf length param to uint32_t to adjust to event buf length param type in the wmi_unified_event_handler().These changes are needed to converge on the common service ready handlers. Change-Id: I553bab579f514c356b59b003c0ec66c17e60e26f CRs-Fixed: 1110768 --- wmi_unified_api.c | 2 +- wmi_unified_non_tlv.c | 2 +- wmi_unified_tlv.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wmi_unified_api.c b/wmi_unified_api.c index f2ecb43c38..278b7ae760 100644 --- a/wmi_unified_api.c +++ b/wmi_unified_api.c @@ -4829,7 +4829,7 @@ QDF_STATUS wmi_ready_extract_mac_addr(void *wmi_hdl, void *ev, uint8_t *macaddr) * Return: length */ uint8_t *wmi_extract_dbglog_data_len(void *wmi_hdl, void *evt_buf, - uint16_t *len) + uint32_t *len) { wmi_unified_t wmi_handle = (wmi_unified_t) wmi_hdl; diff --git a/wmi_unified_non_tlv.c b/wmi_unified_non_tlv.c index edc2e2f0ef..7d9b568d87 100644 --- a/wmi_unified_non_tlv.c +++ b/wmi_unified_non_tlv.c @@ -5706,7 +5706,7 @@ static QDF_STATUS ready_extract_mac_addr_non_tlv(wmi_unified_t wmi_hdl, */ static uint8_t *extract_dbglog_data_len_non_tlv(wmi_unified_t wmi_handle, void *evt_buf, - uint16_t *len) + uint32_t *len) { /*Len is already valid from event. No need to change it */ return evt_buf; diff --git a/wmi_unified_tlv.c b/wmi_unified_tlv.c index d70bb905d9..00228c6255 100644 --- a/wmi_unified_tlv.c +++ b/wmi_unified_tlv.c @@ -12275,7 +12275,7 @@ static QDF_STATUS ready_extract_mac_addr_tlv(wmi_unified_t wmi_hamdle, * Return: length */ static uint8_t *extract_dbglog_data_len_tlv(wmi_unified_t wmi_handle, - void *evt_buf, uint16_t *len) + void *evt_buf, uint32_t *len) { WMI_DEBUG_MESG_EVENTID_param_tlvs *param_buf;