Wlan: ERROR log level cleanup
This CL takes care of cleaning up the ERROR level logs
so that we do not end up printing out irreleveant messages.
Change-Id: I9c3f4980281620ef082829aab65f18d2899a2fcc
CR-Fixed: 379947
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c
index ae30285..5b9938f 100644
--- a/CORE/HDD/src/wlan_hdd_cfg80211.c
+++ b/CORE/HDD/src/wlan_hdd_cfg80211.c
@@ -774,7 +774,7 @@
if(elem_len > left)
{
hddLog(VOS_TRACE_LEVEL_FATAL,
- "****Invalid IEs eid = %d elem_len=%d left=%d*****\n",
+ FL("****Invalid IEs eid = %d elem_len=%d left=%d*****"),
eid,elem_len,left);
return NULL;
}
@@ -1296,7 +1296,7 @@
}
else if(memcmp(&pIe[2], WPS_OUI_TYPE, WPS_OUI_TYPE_SIZE) == 0)
{
- hddLog( VOS_TRACE_LEVEL_ERROR, "** WPS IE(len %d) ***\n", (pIe[1]+2));
+ hddLog( VOS_TRACE_LEVEL_INFO, "** WPS IE(len %d) ***", (pIe[1]+2));
/* Check 15 bit of WPS IE as it contain information for wps state
* WPS state
*/
@@ -1531,7 +1531,7 @@
return -EINVAL;
}
- hddLog(LOGE,
+ hddLog(LOG1,
FL("Waiting for Scan to complete(auto mode) and BSS to start"));
status = vos_wait_single_event(&pHostapdState->vosEvent, 10000);