summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@qca.qualcomm.com>2015-02-08 18:18:02 -0800
committerAnjaneeDevi Kapparapu <c_akappa@qti.qualcomm.com>2015-02-16 18:29:03 +0530
commita1a3b6cbef8e9d78ffe0271a2b2febbfa58c138b (patch)
treeb815ebb2d47edf86e88a4ea6bbd3c7c1e703422a
parent42f3de6444c7e4a4078e5b115f88d269e61fb294 (diff)
qcacld-2.0: Reduce log level from ERROR to INFO
This is prima to qcacld-2.0 propagation. There is a possibility of wlan_hdd_tdls_get_peer() to return error in case device_mode won't fall under STA/P2P-CLI, causing debug logs to print continuously in wlan_hdd_tdls_get_peer() and wlan_hdd_tdls_increment_pkt_count(). Hence moving log level to INFO. Change-Id: Ia7bc3423e367646b02797389e3b765a1b1afc732 CRs-Fixed: 792863
-rw-r--r--CORE/HDD/src/wlan_hdd_tdls.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/CORE/HDD/src/wlan_hdd_tdls.c b/CORE/HDD/src/wlan_hdd_tdls.c
index b25019a0966d..3f85a8b1a99f 100644
--- a/CORE/HDD/src/wlan_hdd_tdls.c
+++ b/CORE/HDD/src/wlan_hdd_tdls.c
@@ -971,10 +971,8 @@ hddTdlsPeer_t *wlan_hdd_tdls_get_peer(hdd_adapter_t *pAdapter, u8 *mac)
pHddTdlsCtx = WLAN_HDD_GET_TDLS_CTX_PTR(pAdapter);
- if (NULL == pHddTdlsCtx)
- {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- FL("pHddTdlsCtx is NULL"));
+ if (NULL == pHddTdlsCtx) {
+ hddLog(LOG1, FL("pHddTdlsCtx is NULL"));
vos_mem_free(peer);
mutex_unlock(&pHddCtx->tdls_lock);
return NULL;
@@ -1373,10 +1371,8 @@ int wlan_hdd_tdls_increment_pkt_count(hdd_adapter_t *pAdapter, u8 *mac, u8 tx)
return -1;
curr_peer = wlan_hdd_tdls_get_peer(pAdapter, mac);
- if (curr_peer == NULL)
- {
- VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_ERROR,
- FL("curr_peer is NULL"));
+ if (curr_peer == NULL) {
+ hddLog(LOG1, FL("curr_peer is NULL"));
return -1;
}