summaryrefslogtreecommitdiff
path: root/qdf/linux/src
diff options
context:
space:
mode:
authorHouston Hoffman <hhoffman@codeaurora.org>2016-11-14 12:45:17 -0800
committerqcabuildsw <qcabuildsw@localhost>2016-11-15 02:18:13 -0800
commitf08f3748732118485fe919b7ca9d0239a093e47e (patch)
tree122409831fae94aa8461929adf80b289ba369a8d /qdf/linux/src
parent6d757395b6fd5dd9425dbdc42426282c06e0b700 (diff)
qcacmn: Prepend DPT timeout messages with 'DPT:'
Mark the timeout messages in qdf_dp_display_record with the 'DPT:' prefix and print them with the same error level as other DPT messages. Note that there are allready error level logs in HDD to indicate that a timeout occured. The value add here is that this timeout is noted in the contect of DPTRACE where prior successfull packets will also have been logged. Change-Id: I87b041895462474d37d092d48aa4c7e957ff45c5 CRs-Fixed: 1089725
Diffstat (limited to 'qdf/linux/src')
-rw-r--r--qdf/linux/src/qdf_trace.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/qdf/linux/src/qdf_trace.c b/qdf/linux/src/qdf_trace.c
index 00ad2476dc19..af375d07c3dd 100644
--- a/qdf/linux/src/qdf_trace.c
+++ b/qdf/linux/src/qdf_trace.c
@@ -1557,12 +1557,10 @@ void qdf_dp_display_record(struct qdf_dp_trace_record_s *pRecord,
pRecord->time, qdf_dp_code_to_string(pRecord->code));
switch (pRecord->code) {
case QDF_DP_TRACE_HDD_TX_TIMEOUT:
- QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
- "HDD TX Timeout\n");
+ DPTRACE_PRINT("DPT: HDD TX Timeout\n");
break;
case QDF_DP_TRACE_HDD_SOFTAP_TX_TIMEOUT:
- QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_ERROR,
- "HDD SoftAP TX Timeout\n");
+ DPTRACE_PRINT("DPT: HDD SoftAP TX Timeout\n");
break;
case QDF_DP_TRACE_HDD_TX_PACKET_RECORD:
dump_hex_trace("DATA", pRecord->data, pRecord->size);