diff options
| author | Sandeep Puligilla <spuligil@codeaurora.org> | 2016-12-06 16:37:54 -0800 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2016-12-09 16:08:29 -0800 |
| commit | bbccd116f50000e2e88bdd2c0cd9ce680ba8366b (patch) | |
| tree | ee97cadb9e7a9dc57eb32e17087ed40f765e1d1e | |
| parent | 2ae4ec4dac18def4fdceca003da6c945c9a6c6a3 (diff) | |
qcacld-3.0: correct module id in log messages
SAP module dubug message log contains QDF
module id.
Replace cds_err API with QDF_TRACE API to
log the correct module id in debug messages.
Change-Id: Ib39a95cd0688d6029c802c4710127a4c72ae6411
CRs-Fixed: 1098145
| -rw-r--r-- | core/sap/src/sap_fsm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index a57088a78a3a..d9018faa04d9 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -2538,7 +2538,8 @@ QDF_STATUS sap_open_session(tHalHandle hHal, ptSapContext sapContext, SAP_OPEN_SESSION_TIMEOUT); if (!QDF_IS_STATUS_SUCCESS(status)) { - cds_err("wait for sap open session event timed out"); + QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR, + "wait for sap open session event timed out"); return QDF_STATUS_E_FAILURE; } @@ -4817,7 +4818,8 @@ static QDF_STATUS sap_get_5ghz_channel_list(ptSapContext sapContext) QDF_ARRAY_SIZE(pcl.weight_list)); } if (status != QDF_STATUS_SUCCESS) { - cds_err("Get PCL failed"); + QDF_TRACE(QDF_MODULE_ID_SAP, QDF_TRACE_LEVEL_ERROR, + "Get PCL failed"); return status; } for (i = 0; i <= pcl.pcl_len; i++) { |
