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
This commit is contained in:
Surabhi Vishnoi
2017-11-29 15:07:10 +05:30
committed by snandini
vanhempi 8107b66d8f
commit e7c1401cf0
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa

Näytä tiedosto

@@ -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;
};

Näytä tiedosto

@@ -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",