Selaa lähdekoodia

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
Surabhi Vishnoi 7 vuotta sitten
vanhempi
sitoutus
209f7d4ade
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      wmi_unified.c

+ 1 - 1
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",