diff options
| author | Dustin Brown <dustinb@codeaurora.org> | 2017-01-24 14:28:20 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-28 04:50:04 -0800 |
| commit | a6a9dcbd22dec021f21f92f9892baff9fc1414db (patch) | |
| tree | d6622fdb84ab44c09c05880c3bf2da6fa6df2e09 | |
| parent | 1b41755c24f4177b70e40c631038ac784ff39762 (diff) | |
qcacld-3.0: Promote unhandled WMA message log to error level
Currently, when an unhandled WMA message is received, it is ignored and
a debug-level log is issued. Promote unhandled WMA message logs to
error-level to help in finding unnecessary posts to WMA.
Change-Id: Id3d068f33d545b1d0620520ac24adda5778a1d68
CRs-Fixed: 1115514
| -rw-r--r-- | core/wma/src/wma_main.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c index 16adf5fcbe0e..2ed4eaf331af 100644 --- a/core/wma/src/wma_main.c +++ b/core/wma/src/wma_main.c @@ -7118,11 +7118,9 @@ QDF_STATUS wma_mc_process_msg(void *cds_context, cds_msg_t *msg) qdf_mem_free(msg->bodyptr); break; default: - WMA_LOGD("unknown msg type %x", msg->type); - /* Do Nothing? MSG Body should be freed at here */ - if (NULL != msg->bodyptr) { + WMA_LOGE("Unhandled WMA message of type %d", msg->type); + if (msg->bodyptr) qdf_mem_free(msg->bodyptr); - } } end: return qdf_status; |
