Ver Fonte

qcacmn: Log qmi event id in hex for easier debugging

Log wmi event id received in QMI stats response in hex for
easier debugging.

Change-Id: I7812f6aa31ccaa8c186679cac49e7a0a192ac7f5
CRs-Fixed: 3199171
Rajeev Kumar há 3 anos atrás
pai
commit
fd2ba9f34e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      wmi/src/wmi_unified.c

+ 1 - 1
wmi/src/wmi_unified.c

@@ -2706,7 +2706,7 @@ static int __wmi_process_qmi_fw_event(void *wmi_cb_ctx, void *buf, int len)
 
 	qdf_mem_copy(qdf_nbuf_data(evt_buf), buf, len);
 	evt_id = WMI_GET_FIELD(qdf_nbuf_data(evt_buf), WMI_CMD_HDR, COMMANDID);
-	wmi_debug("Received WMI_EVT_ID: %d over qmi", evt_id);
+	wmi_debug("Received WMI_EVT_ID: 0x%x over qmi", evt_id);
 	wmi_process_control_rx(wmi_handle, evt_buf);
 
 	return 0;