wlan: HDD: removing newlines from the debug logs
dmesg log is a limited and extremely precious
debugging tool. Any unnecessary prints are avoided.
Change-Id: I94c77696af432b856967a7a0d628c06f2b3f8679
CRs-Fixed: 540451
diff --git a/CORE/HDD/src/wlan_hdd_early_suspend.c b/CORE/HDD/src/wlan_hdd_early_suspend.c
index 3d707bc..af5ea59 100644
--- a/CORE/HDD/src/wlan_hdd_early_suspend.c
+++ b/CORE/HDD/src/wlan_hdd_early_suspend.c
@@ -712,7 +712,7 @@
pHddCtx->sus_res_mcastbcast_filter)))
{
hddLog (VOS_TRACE_LEVEL_INFO,
- "Set offLoadRequest with SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE \n");
+ "Set offLoadRequest with SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE");
offLoadRequest.enableOrDisable =
SIR_OFFLOAD_NS_AND_MCAST_FILTER_ENABLE;
}
@@ -786,7 +786,7 @@
tSirHostOffloadReq offLoadRequest;
hdd_context_t *pHddCtx = WLAN_HDD_GET_CTX(pAdapter);
- hddLog(VOS_TRACE_LEVEL_ERROR, "%s: \n", __func__);
+ hddLog(VOS_TRACE_LEVEL_ERROR, "%s:", __func__);
if(fenable)
{
@@ -806,7 +806,7 @@
offLoadRequest.offloadType = SIR_IPV4_ARP_REPLY_OFFLOAD;
offLoadRequest.enableOrDisable = SIR_OFFLOAD_ENABLE;
- hddLog(VOS_TRACE_LEVEL_INFO, "%s: Enabled \n", __func__);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s: Enabled", __func__);
if (((HDD_MCASTBCASTFILTER_FILTER_ALL_BROADCAST ==
pHddCtx->sus_res_mcastbcast_filter) ||
@@ -840,14 +840,14 @@
pAdapter->sessionId, &offLoadRequest))
{
hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failed to enable HostOffload "
- "feature\n", __func__);
+ "feature", __func__);
return VOS_STATUS_E_FAILURE;
}
return VOS_STATUS_SUCCESS;
}
else
{
- hddLog(VOS_TRACE_LEVEL_INFO, "%s:IP Address is not assigned \n", __func__);
+ hddLog(VOS_TRACE_LEVEL_INFO, "%s:IP Address is not assigned", __func__);
return VOS_STATUS_E_AGAIN;
}
}
@@ -862,7 +862,7 @@
pAdapter->sessionId, &offLoadRequest))
{
hddLog(VOS_TRACE_LEVEL_ERROR, "%s: Failure to disable host "
- "offload feature\n", __func__);
+ "offload feature", __func__);
return VOS_STATUS_E_FAILURE;
}
return VOS_STATUS_SUCCESS;
@@ -1388,7 +1388,7 @@
NULL, eANI_BOOLEAN_FALSE);
VOS_TRACE(VOS_MODULE_ID_HDD, VOS_TRACE_LEVEL_INFO,
- "Switch to DTIM%d \n",powerRequest.uListenInterval);
+ "Switch to DTIM%d",powerRequest.uListenInterval);
sme_SetPowerParams( WLAN_HDD_GET_HAL_CTX(pAdapter), &powerRequest, FALSE);
if (BMPS == pmcGetPmcState(pHddCtx->hHal))