wlan: Optimizing logs with PELOG1 in MAC
Updating appropriate log level and reducing wherever applicable
for PELOG1 logs.
CRs-fixed: 608883
Change-Id: I72eee7a2adad960d97c0b7e86520b7c0c4056ff8
diff --git a/CORE/MAC/src/pe/lim/limApi.c b/CORE/MAC/src/pe/lim/limApi.c
index 831c06a..32295ad 100644
--- a/CORE/MAC/src/pe/lim/limApi.c
+++ b/CORE/MAC/src/pe/lim/limApi.c
@@ -585,7 +585,7 @@
limHandleCFGparamUpdate do we want to update this? */
if(wlan_cfgGetInt(pMac, WNI_CFG_SHORT_PREAMBLE, &val1) != eSIR_SUCCESS)
{
- limLog(pMac, LOGP, FL("cfg get short preamble failed"));
+ limLog(pMac, LOGE, FL("cfg get short preamble failed"));
return eSIR_FAILURE;
}
@@ -1646,7 +1646,7 @@
if (i == LIM_PROT_STA_OVERLAP_CACHE_SIZE)
{
- PELOG1(limLog(pMac, LOG1, FL("Overlap cache is full"));)
+ PELOG1(limLog(pMac, LOGW, FL("Overlap cache is full"));)
}
else
{