summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorService qcabuildsw <qcabuildsw@localhost>2016-09-19 12:39:02 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-19 12:39:02 -0700
commitd48c54a4e8667a9e1291b0f7258a062d1efeb058 (patch)
treea7707ee266bd7951e904a351241a7b5c892ce4d1
parent146ccaa7952be23e559b4a587f7016cf36b6fbcf (diff)
parent5a18365aae347c43a1cc9a314c4b69d2aa676732 (diff)
Merge "qcacld-3.0: If mac_ctx is NULL, do not use it for logging purpose" into wlan-cld3.driver.lnx.1.1-dev
-rw-r--r--core/sme/src/csr/csr_api_roam.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index c1603da65d55..dfb625086c64 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -13623,13 +13623,13 @@ static QDF_STATUS csr_set_ldpc_exception(tpAniSirGlobal mac_ctx,
bool usr_cfg_rx_ldpc)
{
if (!mac_ctx) {
- sms_log(mac_ctx, LOGE,
- FL("mac_ctx is NULL"));
+ QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
+ "mac_ctx is NULL");
return QDF_STATUS_E_FAILURE;
}
if (!session) {
- sms_log(mac_ctx, LOGE,
- FL("session is NULL"));
+ QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
+ "session is NULL");
return QDF_STATUS_E_FAILURE;
}
if (usr_cfg_rx_ldpc && wma_is_rx_ldpc_supported_for_channel(channel)) {