From e7c1401cf0b3ff38fb1804d616d40602332d59fd Mon Sep 17 00:00:00 2001 From: Surabhi Vishnoi Date: Wed, 29 Nov 2017 15:07:10 +0530 Subject: [PATCH] qcacmn: Change the data type of message type id The datatype of wd_msg_type_id was uint16_t which truncates the upper bytes of msg id. Changing the datatype of wd_msg_type_id from uint16_t to uint32_t. Change-Id: I49b5eefd878660f6ba3d0b7da451df99661c59df --- wmi/inc/wmi_unified_priv.h | 2 +- wmi/src/wmi_unified.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wmi/inc/wmi_unified_priv.h b/wmi/inc/wmi_unified_priv.h index 736f9df03f86..ca0e9c6f78d8 100644 --- a/wmi/inc/wmi_unified_priv.h +++ b/wmi/inc/wmi_unified_priv.h @@ -183,7 +183,7 @@ struct fwdebug { * @ task - WMI workqueue task struct */ struct wmi_wq_dbg_info { - uint16_t wd_msg_type_id; + uint32_t wd_msg_type_id; qdf_workqueue_t *wmi_wq; qdf_thread_t *task; }; diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c index bc0580c415ce..db2b082e9bec 100644 --- a/wmi/src/wmi_unified.c +++ b/wmi/src/wmi_unified.c @@ -1873,7 +1873,7 @@ end: #define WMI_WQ_WD_TIMEOUT (10 * 1000) /* 10s */ -static inline void wmi_workqueue_watchdog_warn(uint16_t msg_type_id) +static inline void wmi_workqueue_watchdog_warn(uint32_t msg_type_id) { QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR, "%s: Message type %x has exceeded its alloted time of %ds",