qcacld-3.0: Reduce the log spam in Kmsg
Move the logs to appropriate log levels to reduce
the log spam in kmsg
Change-Id: I2138de8f2be2e432ba84ee0615c14946da228fc9
CRs-Fixed: 1093093
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index f8b3128..f0d8d75 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -3445,7 +3445,7 @@
if (sta_ds == NULL) {
pe_err("Rcvd invalid msg %X due to no STA ctx, aid %d, peer",
msg_type, assoc_cnf.aid);
- lim_print_mac_addr(mac_ctx, assoc_cnf.peer_macaddr.bytes, LOG1);
+ lim_print_mac_addr(mac_ctx, assoc_cnf.peer_macaddr.bytes, LOGE);
/*
* send a DISASSOC_IND message to WSM to make sure
@@ -3464,7 +3464,7 @@
QDF_MAC_ADDR_SIZE)) {
pe_debug("peerMacAddr mismatched for aid %d, peer ",
assoc_cnf.aid);
- lim_print_mac_addr(mac_ctx, assoc_cnf.peer_macaddr.bytes, LOG1);
+ lim_print_mac_addr(mac_ctx, assoc_cnf.peer_macaddr.bytes, LOGD);
goto end;
}
@@ -3476,7 +3476,7 @@
pe_debug("not in MLM_WT_ASSOC_CNF_STATE, for aid %d, peer"
"StaD mlmState: %d",
assoc_cnf.aid, sta_ds->mlmStaContext.mlmState);
- lim_print_mac_addr(mac_ctx, assoc_cnf.peer_macaddr.bytes, LOG1);
+ lim_print_mac_addr(mac_ctx, assoc_cnf.peer_macaddr.bytes, LOGD);
goto end;
}
/*
@@ -3642,13 +3642,13 @@
/* ship out the message now */
lim_send_addts_req_action_frame(pMac, peerMac, &pSirAddts->req,
psessionEntry);
- pe_debug("Sent ADDTS request");
+ pe_err("Sent ADDTS request");
/* start a timer to wait for the response */
if (pSirAddts->timeout)
timeout = pSirAddts->timeout;
else if (wlan_cfg_get_int(pMac, WNI_CFG_ADDTS_RSP_TIMEOUT, &timeout) !=
eSIR_SUCCESS) {
- pe_err("Unable to get Cfg param %d (Addts Rsp Timeout)",
+ pe_debug("Unable to get Cfg param %d (Addts Rsp Timeout)",
WNI_CFG_ADDTS_RSP_TIMEOUT);
goto send_failure_addts_rsp;
}