summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKomal Seelam <kseelam@codeaurora.org>2016-10-04 18:09:56 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-10-26 21:34:26 -0700
commitb4f3db490e3208352abfe776827552e37ede152e (patch)
treed00961ae14e7732f8c7fc0ee53f85a1bfb2a71d8
parente7e9c40f524e99d9065b43dcdf4ecf687952c037 (diff)
qcacmn: Log Transport Layer Tag for debugging purposes
Log Transport Layer Tag for debugging. The tag differs for normal command and the runtime pm commands. CRs-Fixed: 1072520 Change-Id: I7ec085410aaa429cfeb8cc09729e62deee9c7d95
-rw-r--r--wmi/src/wmi_unified.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/wmi/src/wmi_unified.c b/wmi/src/wmi_unified.c
index 1702f3a65ae7..66e17adc81f4 100644
--- a/wmi/src/wmi_unified.c
+++ b/wmi/src/wmi_unified.c
@@ -1644,10 +1644,10 @@ static uint8_t *wmi_id_to_name(uint32_t wmi_command)
return "Invalid WMI cmd";
}
-static inline void wma_log_cmd_id(uint32_t cmd_id)
+static inline void wma_log_cmd_id(uint32_t cmd_id, uint32_t tag)
{
- WMI_LOGD("Send WMI command:%s command_id:%d",
- wmi_id_to_name(cmd_id), cmd_id);
+ WMI_LOGD("Send WMI command:%s command_id:%d htc_tag:%d",
+ wmi_id_to_name(cmd_id), cmd_id, tag);
}
#else
static uint8_t *wmi_id_to_name(uint32_t wmi_command)
@@ -1795,7 +1795,7 @@ QDF_STATUS wmi_unified_cmd_send(wmi_unified_t wmi_handle, wmi_buf_t buf,
SET_HTC_PACKET_NET_BUF_CONTEXT(pkt, buf);
#ifndef WMI_NON_TLV_SUPPORT
- wma_log_cmd_id(cmd_id);
+ wma_log_cmd_id(cmd_id, htc_tag);
#endif
#ifdef WMI_INTERFACE_EVENT_LOGGING