qcacld-3.0: Reduce log level for few prints to debug

Reduce log level for few prints to debug to avoid flooding
of prints to console.

Change-Id: I514585cc87d51ead15fb1f40d45f62023628d9bb
CRs-Fixed: 2295815
This commit is contained in:
Yeshwanth Sriram Guntuka 2018-08-10 16:45:16 +05:30 • committed by nshrivas
commit e7303b8db6
3 changed files with 11 additions and 13 deletions

View file

@ -2652,10 +2652,8 @@ void lim_update_lost_link_info(tpAniSirGlobal mac, tpPESession session,
pe_err("parameter NULL");
return;
}
if (!LIM_IS_STA_ROLE(session)) {
pe_err("not STA mode, do nothing");
if (!LIM_IS_STA_ROLE(session))
return;
}
lost_link_info = qdf_mem_malloc(sizeof(*lost_link_info));
if (NULL == lost_link_info) {

View file

@ -2041,9 +2041,9 @@ void lim_process_assoc_req_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
goto error;
/* STA is Associated ! */
pe_err("Received: %s Req successful from " MAC_ADDRESS_STR,
(LIM_ASSOC == sub_type) ? "Assoc" : "ReAssoc",
MAC_ADDR_ARRAY(hdr->sa));
pe_debug("Received: %s Req successful from " MAC_ADDRESS_STR,
(LIM_ASSOC == sub_type) ? "Assoc" : "ReAssoc",
MAC_ADDR_ARRAY(hdr->sa));
/*
* AID for this association will be same as the peer Index used in DPH

View file

@ -145,13 +145,13 @@ lim_process_disassoc_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
/* Get reasonCode from Disassociation frame body */
reasonCode = sir_read_u16(pBody);
pe_err("Received Disassoc frame for Addr: " MAC_ADDRESS_STR
"(mlm state=%s, sme state=%d RSSI=%d),"
"with reason code %d [%s] from " MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(pHdr->da),
lim_mlm_state_str(psessionEntry->limMlmState),
psessionEntry->limSmeState, frame_rssi, reasonCode,
lim_dot11_reason_str(reasonCode), MAC_ADDR_ARRAY(pHdr->sa));
pe_debug("Received Disassoc frame for Addr: " MAC_ADDRESS_STR
"(mlm state=%s, sme state=%d RSSI=%d),"
"with reason code %d [%s] from " MAC_ADDRESS_STR,
MAC_ADDR_ARRAY(pHdr->da),
lim_mlm_state_str(psessionEntry->limMlmState),
psessionEntry->limSmeState, frame_rssi, reasonCode,
lim_dot11_reason_str(reasonCode), MAC_ADDR_ARRAY(pHdr->sa));
lim_diag_event_report(pMac, WLAN_PE_DIAG_DISASSOC_FRAME_EVENT,
psessionEntry, 0, reasonCode);