diff options
| author | Nishank Aggarwal <naggar@codeaurora.org> | 2017-03-07 20:07:59 +0530 |
|---|---|---|
| committer | Prakash Dhavali <pdhavali@codeaurora.org> | 2017-03-09 21:08:36 -0800 |
| commit | 16e79f5fe67a66d7b9abf7b1d78da52ce6bbee65 (patch) | |
| tree | 45b01b819fe41b878129226ce5e56f1fa36d5749 | |
| parent | ab3a79e6ebeacb14d9bc2b20ebb72001141c5b72 (diff) | |
qcacld-3.0: Reduce the log spam in sme_rrm.c
Move the logs to appropriate log levels to reduce
the log spam in sme_rrm.c
Change-Id: I16a7ab4e33eaa06275294d583938c156383cf68a
CRs-Fixed: 1093093
| -rw-r--r-- | core/sme/src/rrm/sme_rrm.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/sme/src/rrm/sme_rrm.c b/core/sme/src/rrm/sme_rrm.c index 44536b65d4e7..c5c216e7c2da 100644 --- a/core/sme/src/rrm/sme_rrm.c +++ b/core/sme/src/rrm/sme_rrm.c @@ -191,7 +191,7 @@ sme_rrm_send_beacon_report_xmit_ind(tpAniSirGlobal mac_ctx, length = sizeof(tSirBeaconReportXmitInd); beacon_rep = qdf_mem_malloc(length); if (NULL == beacon_rep) { - sms_log(mac_ctx, LOGP, + sms_log(mac_ctx, LOGE, "Unable to allocate memory for beacon report"); return QDF_STATUS_E_NOMEM; } @@ -441,7 +441,7 @@ static QDF_STATUS sme_rrm_send_scan_result(tpAniSirGlobal mac_ctx, filter.SSIDs.SSIDList = (tCsrSSIDInfo *) qdf_mem_malloc(sizeof(tCsrSSIDInfo)); if (filter.SSIDs.SSIDList == NULL) { - sms_log(mac_ctx, LOGP, FL("qdf_mem_malloc failed")); + sms_log(mac_ctx, LOGE, FL("qdf_mem_malloc failed")); return QDF_STATUS_E_NOMEM; } @@ -522,7 +522,7 @@ static QDF_STATUS sme_rrm_send_scan_result(tpAniSirGlobal mac_ctx, roam_info = qdf_mem_malloc(sizeof(*roam_info)); if (NULL == roam_info) { - sms_log(mac_ctx, LOGP, FL("vos_mem_malloc failed")); + sms_log(mac_ctx, LOGE, FL("vos_mem_malloc failed")); status = QDF_STATUS_E_NOMEM; goto rrm_send_scan_results_done; } @@ -685,7 +685,7 @@ static QDF_STATUS sme_rrm_issue_scan_req(tpAniSirGlobal mac_ctx) (tCsrSSIDInfo *)qdf_mem_malloc( sizeof(tCsrSSIDInfo)); if (NULL == scan_req.SSIDs.SSIDList) { - sms_log(mac_ctx, LOGP, + sms_log(mac_ctx, LOGE, FL("qdf_mem_malloc failed")); return QDF_STATUS_E_NOMEM; } @@ -843,7 +843,7 @@ QDF_STATUS sme_rrm_process_beacon_report_req_ind(tpAniSirGlobal pMac, void *pMsg wlan_cfg_get_str_len(pMac, WNI_CFG_VALID_CHANNEL_LIST, &len); pSmeRrmContext->channelList.ChannelList = qdf_mem_malloc(len); if (pSmeRrmContext->channelList.ChannelList == NULL) { - sms_log(pMac, LOGP, FL("qdf_mem_malloc failed")); + sms_log(pMac, LOGE, FL("qdf_mem_malloc failed")); return QDF_STATUS_E_NOMEM; } csr_get_cfg_valid_channels(pMac, @@ -863,7 +863,7 @@ QDF_STATUS sme_rrm_process_beacon_report_req_ind(tpAniSirGlobal pMac, void *pMsg pSmeRrmContext->channelList.ChannelList = qdf_mem_malloc(len); if (pSmeRrmContext->channelList.ChannelList == NULL) { - sms_log(pMac, LOGP, FL("qdf_mem_malloc failed")); + sms_log(pMac, LOGE, FL("qdf_mem_malloc failed")); return QDF_STATUS_E_NOMEM; } @@ -1260,7 +1260,7 @@ end: QDF_STATUS sme_rrm_msg_processor(tpAniSirGlobal pMac, uint16_t msg_type, void *pMsgBuf) { - QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_INFO_HIGH, + QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_DEBUG, FL(" Msg = %d for RRM measurement"), msg_type); /* switch on the msg type & make the state transition accordingly */ @@ -1417,7 +1417,7 @@ QDF_STATUS rrm_close(tpAniSirGlobal pMac) qdf_mc_timer_stop(&pSmeRrmContext->neighborReqControlInfo. neighborRspWaitTimer); if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { - QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_FATAL, + QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR, FL("Timer stop fail")); } } @@ -1426,7 +1426,7 @@ QDF_STATUS rrm_close(tpAniSirGlobal pMac) qdf_mc_timer_destroy(&pSmeRrmContext->neighborReqControlInfo. neighborRspWaitTimer); if (!QDF_IS_STATUS_SUCCESS(qdf_status)) { - QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_FATAL, + QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR, FL("Fail to destroy timer")); } |
