Remove redundant new line in PE log messages.
Remove \n in log messages to remove redundant new line in log
messages.
Change-Id: I6c9d4d511868a33c508642039fd6012e73da3f40
CRs-Fixed: 441138
diff --git a/CORE/MAC/src/pe/lim/limTimerUtils.c b/CORE/MAC/src/pe/lim/limTimerUtils.c
index 5f343cf..6bd9a61 100644
--- a/CORE/MAC/src/pe/lim/limTimerUtils.c
+++ b/CORE/MAC/src/pe/lim/limTimerUtils.c
@@ -97,7 +97,7 @@
{
tANI_U32 cfgValue, i=0;
- PELOG1(limLog(pMac, LOG1, FL("Creating Timers used by LIM module in Role %d\n"), pMac->lim.gLimSystemRole);)
+ PELOG1(limLog(pMac, LOG1, FL("Creating Timers used by LIM module in Role %d"), pMac->lim.gLimSystemRole);)
if (wlan_cfgGetInt(pMac, WNI_CFG_ACTIVE_MINIMUM_CHANNEL_TIME,
&cfgValue) != eSIR_SUCCESS)
@@ -106,7 +106,7 @@
* Could not get MinChannelTimeout value
* from CFG. Log error.
*/
- limLog(pMac, LOGP, FL("could not retrieve MinChannelTimeout value\n"));
+ limLog(pMac, LOGP, FL("could not retrieve MinChannelTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -119,10 +119,10 @@
{
/// Could not start min channel timer.
// Log error
- limLog(pMac, LOGP, FL("could not create MIN channel timer\n"));
+ limLog(pMac, LOGP, FL("could not create MIN channel timer"));
return TX_TIMER_ERROR;
}
- PELOG2(limLog(pMac, LOG2, FL("Created MinChannelTimer\n"));)
+ PELOG2(limLog(pMac, LOG2, FL("Created MinChannelTimer"));)
/* Periodic probe request timer value is half of the Min channel
* timer. Probe request sends periodically till min/max channel
@@ -141,7 +141,7 @@
{
/// Could not start Periodic Probe Req timer.
// Log error
- limLog(pMac, LOGP, FL("could not create periodic probe timer\n"));
+ limLog(pMac, LOGP, FL("could not create periodic probe timer"));
goto err_timer;
}
}
@@ -155,7 +155,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve MAXChannelTimeout value\n"));
+ FL("could not retrieve MAXChannelTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -167,11 +167,11 @@
{
/// Could not start max channel timer.
// Log error
- limLog(pMac, LOGP, FL("could not create MAX channel timer\n"));
+ limLog(pMac, LOGP, FL("could not create MAX channel timer"));
goto err_timer;
}
- PELOG2(limLog(pMac, LOG2, FL("Created MaxChannelTimer\n"));)
+ PELOG2(limLog(pMac, LOG2, FL("Created MaxChannelTimer"));)
if (pMac->lim.gLimSystemRole != eLIM_AP_ROLE)
{
@@ -184,7 +184,7 @@
0, // reschedule_ticks
TX_NO_ACTIVATE) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("failed to create Channel Switch timer\n"));
+ limLog(pMac, LOGP, FL("failed to create Channel Switch timer"));
goto err_timer;
}
@@ -201,7 +201,7 @@
0, // reschedule_ticks
TX_NO_ACTIVATE) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("failed to create Quiet Begin Timer\n"));
+ limLog(pMac, LOGP, FL("failed to create Quiet Begin Timer"));
goto err_timer;
}
@@ -220,7 +220,7 @@
0, // reschedule_ticks
TX_NO_ACTIVATE) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("failed to create Quiet Begin Timer\n"));
+ limLog(pMac, LOGP, FL("failed to create Quiet Begin Timer"));
goto err_timer;
}
@@ -232,7 +232,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve JoinFailureTimeout value\n"));
+ FL("could not retrieve JoinFailureTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -245,7 +245,7 @@
{
/// Could not create Join failure timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Join failure timer\n"));
+ limLog(pMac, LOGP, FL("could not create Join failure timer"));
goto err_timer;
}
@@ -259,7 +259,7 @@
{
/// Could not create Periodic Join Probe Request timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Periodic Join Probe Request timer\n"));
+ limLog(pMac, LOGP, FL("could not create Periodic Join Probe Request timer"));
goto err_timer;
}
@@ -271,7 +271,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve AssocFailureTimeout value\n"));
+ FL("could not retrieve AssocFailureTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -285,7 +285,7 @@
/// Could not create Assoc failure timer.
// Log error
limLog(pMac, LOGP,
- FL("could not create Association failure timer\n"));
+ FL("could not create Association failure timer"));
goto err_timer;
}
@@ -297,7 +297,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve ReassocFailureTimeout value\n"));
+ FL("could not retrieve ReassocFailureTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -311,13 +311,13 @@
/// Could not create Reassoc failure timer.
// Log error
limLog(pMac, LOGP,
- FL("could not create Reassociation failure timer\n"));
+ FL("could not create Reassociation failure timer"));
goto err_timer;
}
if (wlan_cfgGetInt(pMac, WNI_CFG_ADDTS_RSP_TIMEOUT, &cfgValue) != eSIR_SUCCESS)
- limLog(pMac, LOGP, FL("Fail to get WNI_CFG_ADDTS_RSP_TIMEOUT \n"));
+ limLog(pMac, LOGP, FL("Fail to get WNI_CFG_ADDTS_RSP_TIMEOUT "));
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -331,7 +331,7 @@
{
/// Could not create Auth failure timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Addts response timer\n"));
+ limLog(pMac, LOGP, FL("could not create Addts response timer"));
goto err_timer;
}
@@ -344,7 +344,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve AuthFailureTimeout value\n"));
+ FL("could not retrieve AuthFailureTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -358,7 +358,7 @@
{
/// Could not create Auth failure timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Auth failure timer\n"));
+ limLog(pMac, LOGP, FL("could not create Auth failure timer"));
goto err_timer;
}
@@ -371,7 +371,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve BEACON_INTERVAL value\n"));
+ FL("could not retrieve BEACON_INTERVAL value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -386,7 +386,7 @@
/// Could not start Heartbeat timer.
// Log error
limLog(pMac, LOGP,
- FL("call to create heartbeat timer failed\n"));
+ FL("call to create heartbeat timer failed"));
goto err_timer;
}
@@ -398,7 +398,7 @@
* value from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve PROBE_AFTER_HB_FAIL_TIMEOUT value\n"));
+ FL("could not retrieve PROBE_AFTER_HB_FAIL_TIMEOUT value"));
}
// Change timer to reactivate it in future
@@ -415,7 +415,7 @@
// Could not creat wt-probe-after-HeartBeat-failure timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to create ProbeAfterHBTimer\n"));
+ FL("unable to create ProbeAfterHBTimer"));
goto err_timer;
}
@@ -427,7 +427,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve Background scan period value\n"));
+ FL("could not retrieve Background scan period value"));
}
/*
@@ -457,7 +457,7 @@
/// Could not start background scan timer.
// Log error
limLog(pMac, LOGP,
- FL("call to create background scan timer failed\n"));
+ FL("call to create background scan timer failed"));
goto err_timer;
}
#ifdef FEATURE_WLAN_TDLS_INTERNAL
@@ -474,7 +474,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve ReassocFailureTimeout value\n"));
+ FL("could not retrieve ReassocFailureTimeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -489,7 +489,7 @@
TX_NO_ACTIVATE) != TX_SUCCESS)
{
limLog(pMac, LOGP,
- FL("could not create TDLS discovery response wait timer\n"));
+ FL("could not create TDLS discovery response wait timer"));
goto err_timer;
}
#endif
@@ -510,11 +510,11 @@
/// Could not start Send Disassociate Frame Threshold timer.
// Log error
limLog(pMac, LOGP,
- FL("create Disassociate throttle timer failed\n"));
+ FL("create Disassociate throttle timer failed"));
goto err_timer;
}
PELOG1(limLog(pMac, LOG1,
- FL("Created Disassociate throttle timer \n"));)
+ FL("Created Disassociate throttle timer "));)
/**
* Create keepalive timer and activate it right away for AP role
@@ -528,7 +528,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve keepalive timeout value\n"));
+ FL("could not retrieve keepalive timeout value"));
}
// A value of zero implies keep alive should be disabled
@@ -553,7 +553,7 @@
!= TX_SUCCESS)
{
// Cannot create keepalive timer. Log error.
- limLog(pMac, LOGP, FL("Cannot create keepalive timer.\n"));
+ limLog(pMac, LOGP, FL("Cannot create keepalive timer."));
goto err_timer;
}
@@ -569,7 +569,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve CNF timeout value\n"));
+ FL("could not retrieve CNF timeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -584,7 +584,7 @@
TX_NO_ACTIVATE) != TX_SUCCESS)
{
// Cannot create timer. Log error.
- limLog(pMac, LOGP, FL("Cannot create CNF wait timer.\n"));
+ limLog(pMac, LOGP, FL("Cannot create CNF wait timer."));
goto err_timer;
}
}
@@ -603,18 +603,18 @@
** from CFG. Log error.
**/
limLog(pMac, LOGP,
- FL("could not retrieve mac preauth value\n"));
+ FL("could not retrieve mac preauth value"));
}
pMac->lim.gLimPreAuthTimerTable.numEntry = cfgValue;
if (palAllocateMemory(pMac->hHdd, (void **) &pMac->lim.gLimPreAuthTimerTable.pTable,
cfgValue*sizeof(tLimPreAuthNode)) != eHAL_STATUS_SUCCESS)
{
- limLog(pMac, LOGP, FL("palAllocateMemory failed!\n"));
+ limLog(pMac, LOGP, FL("palAllocateMemory failed!"));
goto err_timer;
}
limInitPreAuthTimerTable(pMac, &pMac->lim.gLimPreAuthTimerTable);
- PELOG1(limLog(pMac, LOG1, FL("alloc and init table for preAuth timers\n"));)
+ PELOG1(limLog(pMac, LOG1, FL("alloc and init table for preAuth timers"));)
{
@@ -629,7 +629,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve OLBD detect timeout value\n"));
+ FL("could not retrieve OLBD detect timeout value"));
}
cfgValue = SYS_MS_TO_TICKS(cfgValue);
@@ -645,7 +645,7 @@
{
// Cannot create update OLBC cache timer
// Log error
- limLog(pMac, LOGP, FL("Cannot create update OLBC cache timer\n"));
+ limLog(pMac, LOGP, FL("Cannot create update OLBC cache timer"));
goto err_timer;
}
}
@@ -665,7 +665,7 @@
{
// Could not create Join failure timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Join failure timer\n"));
+ limLog(pMac, LOGP, FL("could not create Join failure timer"));
goto err_timer;
}
#endif
@@ -682,7 +682,7 @@
{
// Could not create Join failure timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Join failure timer\n"));
+ limLog(pMac, LOGP, FL("could not create Join failure timer"));
goto err_timer;
}
#endif
@@ -697,7 +697,7 @@
{
// Could not create Join failure timer.
// Log error
- limLog(pMac, LOGP, FL("could not create Join failure timer\n"));
+ limLog(pMac, LOGP, FL("could not create Join failure timer"));
goto err_timer;
}
@@ -710,7 +710,7 @@
cfgValue, 0,
TX_NO_ACTIVATE) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("could not DISASSOC ACK TIMEOUT timer\n"));
+ limLog(pMac, LOGP, FL("could not DISASSOC ACK TIMEOUT timer"));
goto err_timer;
}
@@ -722,7 +722,7 @@
cfgValue, 0,
TX_NO_ACTIVATE) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("could not create DEAUTH ACK TIMEOUT timer\n"));
+ limLog(pMac, LOGP, FL("could not create DEAUTH ACK TIMEOUT timer"));
goto err_timer;
}
@@ -734,7 +734,7 @@
cfgValue, 0,
TX_NO_ACTIVATE) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("could not create Single Shot NOA Insert Timeout timer\n"));
+ limLog(pMac, LOGP, FL("could not create Single Shot NOA Insert Timeout timer"));
goto err_timer;
}
@@ -822,7 +822,7 @@
if ((statusCode = limPostMsgApi(pMac, &msg)) != eSIR_SUCCESS)
limLog(pMac, LOGE,
- FL("posting message %X to LIM failed, reason=%d\n"),
+ FL("posting message %X to LIM failed, reason=%d"),
msg.type, statusCode);
} /****** end limTimerHandler() ******/
@@ -934,17 +934,17 @@
if((LIM_REASSOC == param) &&
(NULL != pMac->lim.pSessionEntry))
{
- limLog(pMac, LOGE, FL("Reassoc timeout happened\n"));
+ limLog(pMac, LOGE, FL("Reassoc timeout happened"));
if(pMac->lim.reAssocRetryAttempt < LIM_MAX_REASSOC_RETRY_LIMIT)
{
limSendRetryReassocReqFrame(pMac, pMac->lim.pSessionEntry->pLimMlmReassocRetryReq, pMac->lim.pSessionEntry);
pMac->lim.reAssocRetryAttempt++;
- limLog(pMac, LOGW, FL("Reassoc request retry is sent %d times\n"), pMac->lim.reAssocRetryAttempt);
+ limLog(pMac, LOGW, FL("Reassoc request retry is sent %d times"), pMac->lim.reAssocRetryAttempt);
return;
}
else
{
- limLog(pMac, LOGW, FL("Reassoc request retry MAX(%d) reached\n"), LIM_MAX_REASSOC_RETRY_LIMIT);
+ limLog(pMac, LOGW, FL("Reassoc request retry MAX(%d) reached"), LIM_MAX_REASSOC_RETRY_LIMIT);
if(NULL != pMac->lim.pSessionEntry->pLimMlmReassocRetryReq)
{
palFreeMemory( pMac->hHdd, pMac->lim.pSessionEntry->pLimMlmReassocRetryReq);
@@ -1037,7 +1037,7 @@
// Could not deactivate AddtsRsp Timer
// Log error
limLog(pMac, LOGP,
- FL("Unable to deactivate AddtsRsp timer\n"));
+ FL("Unable to deactivate AddtsRsp timer"));
}
break;
@@ -1048,7 +1048,7 @@
// Could not deactivate min channel timer.
// Log error
limLog(pMac, LOGP,
- FL("Unable to deactivate min channel timer\n"));
+ FL("Unable to deactivate min channel timer"));
}
#if 0
@@ -1097,7 +1097,7 @@
{
// Could not change min channel timer.
// Log error
- limLog(pMac, LOGP, FL("Unable to change min channel timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change min channel timer"));
}
break;
@@ -1109,7 +1109,7 @@
// Could not deactivate min channel timer.
// Log error
limLog(pMac, LOGP,
- FL("Unable to deactivate periodic timer\n"));
+ FL("Unable to deactivate periodic timer"));
}
val = SYS_MS_TO_TICKS(pMac->lim.gpLimMlmScanReq->minChannelTime)/2;
@@ -1129,7 +1129,7 @@
{
// Could not change min channel timer.
// Log error
- limLog(pMac, LOGP, FL("Unable to change periodic timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change periodic timer"));
}
break;
@@ -1141,7 +1141,7 @@
// Could not deactivate max channel timer.
// Log error
limLog(pMac, LOGP,
- FL("Unable to deactivate max channel timer\n"));
+ FL("Unable to deactivate max channel timer"));
}
// If a background was triggered via Quiet BSS,
@@ -1195,7 +1195,7 @@
// Could not change max channel timer.
// Log error
limLog(pMac, LOGP,
- FL("Unable to change max channel timer\n"));
+ FL("Unable to change max channel timer"));
}
break;
@@ -1209,7 +1209,7 @@
* timer. Log error.
*/
limLog(pMac, LOGP,
- FL("Unable to deactivate Join Failure timer\n"));
+ FL("Unable to deactivate Join Failure timer"));
}
if (wlan_cfgGetInt(pMac, WNI_CFG_JOIN_FAILURE_TIMEOUT,
@@ -1220,7 +1220,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve JoinFailureTimeout value\n"));
+ FL("could not retrieve JoinFailureTimeout value"));
}
val = SYS_MS_TO_TICKS(val);
@@ -1232,7 +1232,7 @@
* timer. Log error.
*/
limLog(pMac, LOGP,
- FL("Unable to change Join Failure timer\n"));
+ FL("Unable to change Join Failure timer"));
}
break;
@@ -1243,7 +1243,7 @@
{
// Could not deactivate periodic join req Times.
limLog(pMac, LOGP,
- FL("Unable to deactivate periodic join request timer\n"));
+ FL("Unable to deactivate periodic join request timer"));
}
val = SYS_MS_TO_TICKS(LIM_JOIN_PROBE_REQ_TIMER_MS);
@@ -1252,7 +1252,7 @@
{
// Could not change periodic join req times.
// Log error
- limLog(pMac, LOGP, FL("Unable to change periodic join request timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change periodic join request timer"));
}
break;
@@ -1264,7 +1264,7 @@
// Could not deactivate Auth failure timer.
// Log error
limLog(pMac, LOGP,
- FL("Unable to deactivate auth failure timer\n"));
+ FL("Unable to deactivate auth failure timer"));
}
// Change timer to reactivate it in future
@@ -1276,7 +1276,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve AuthFailureTimeout value\n"));
+ FL("could not retrieve AuthFailureTimeout value"));
}
val = SYS_MS_TO_TICKS(val);
@@ -1286,7 +1286,7 @@
// Could not change Authentication failure timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change Auth failure timer\n"));
+ FL("unable to change Auth failure timer"));
}
break;
@@ -1298,7 +1298,7 @@
// Could not deactivate Association failure timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to deactivate Association failure timer\n"));
+ FL("unable to deactivate Association failure timer"));
}
// Change timer to reactivate it in future
@@ -1310,7 +1310,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve AssocFailureTimeout value\n"));
+ FL("could not retrieve AssocFailureTimeout value"));
}
val = SYS_MS_TO_TICKS(val);
@@ -1320,7 +1320,7 @@
// Could not change Association failure timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change Assoc failure timer\n"));
+ FL("unable to change Assoc failure timer"));
}
break;
@@ -1332,7 +1332,7 @@
// Could not deactivate Reassociation failure timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to deactivate Reassoc failure timer\n"));
+ FL("unable to deactivate Reassoc failure timer"));
}
// Change timer to reactivate it in future
@@ -1344,7 +1344,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve ReassocFailureTimeout value\n"));
+ FL("could not retrieve ReassocFailureTimeout value"));
}
val = SYS_MS_TO_TICKS(val);
@@ -1354,7 +1354,7 @@
// Could not change Reassociation failure timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change Reassociation failure timer\n"));
+ FL("unable to change Reassociation failure timer"));
}
break;
@@ -1366,7 +1366,7 @@
// Could not deactivate Heartbeat timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to deactivate Heartbeat timer\n"));
+ FL("unable to deactivate Heartbeat timer"));
}
limLog(pMac, LOGW, FL("Deactivated heartbeat link monitoring"));
@@ -1378,13 +1378,13 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve BEACON_INTERVAL value\n"));
+ FL("could not retrieve BEACON_INTERVAL value"));
}
if (wlan_cfgGetInt(pMac, WNI_CFG_HEART_BEAT_THRESHOLD, &val1) !=
eSIR_SUCCESS)
limLog(pMac, LOGP,
- FL("could not retrieve heartbeat failure value\n"));
+ FL("could not retrieve heartbeat failure value"));
// Change timer to reactivate it in future
val = SYS_MS_TO_TICKS(val * val1);
@@ -1395,7 +1395,7 @@
// Could not change HeartBeat timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change HeartBeat timer\n"));
+ FL("unable to change HeartBeat timer"));
}
limLog(pMac, LOGW, FL("HeartBeat timer value is changed = %lu"), val);
break;
@@ -1407,7 +1407,7 @@
// Could not deactivate Heartbeat timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to deactivate probeAfterHBTimer\n"));
+ FL("unable to deactivate probeAfterHBTimer"));
}
limLog(pMac, LOGE, FL("Deactivated probe after hb timer"));
@@ -1419,7 +1419,7 @@
* value from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve PROBE_AFTER_HB_FAIL_TIMEOUT value\n"));
+ FL("could not retrieve PROBE_AFTER_HB_FAIL_TIMEOUT value"));
}
// Change timer to reactivate it in future
@@ -1431,7 +1431,7 @@
// Could not change HeartBeat timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change ProbeAfterHBTimer\n"));
+ FL("unable to change ProbeAfterHBTimer"));
}
limLog(pMac, LOGW, FL("Probe after HB timer value is changed = %lu"), val);
@@ -1444,7 +1444,7 @@
// Could not deactivate Keepalive timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to deactivate KeepaliveTimer timer\n"));
+ FL("unable to deactivate KeepaliveTimer timer"));
}
// Change timer to reactivate it in future
@@ -1457,7 +1457,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve keepalive timeout value\n"));
+ FL("could not retrieve keepalive timeout value"));
}
if (val == 0)
{
@@ -1476,7 +1476,7 @@
// Could not change KeepaliveTimer timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change KeepaliveTimer timer\n"));
+ FL("unable to change KeepaliveTimer timer"));
}
break;
@@ -1488,7 +1488,7 @@
// Could not deactivate BackgroundScanTimer timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to deactivate BackgroundScanTimer timer\n"));
+ FL("unable to deactivate BackgroundScanTimer timer"));
}
// Change timer to reactivate it in future
@@ -1500,7 +1500,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve Background scan period value\n"));
+ FL("could not retrieve Background scan period value"));
}
if (val == 0)
{
@@ -1518,7 +1518,7 @@
// Could not change BackgroundScanTimer timer.
// Log error
limLog(pMac, LOGP,
- FL("unable to change BackgroundScanTimer timer\n"));
+ FL("unable to change BackgroundScanTimer timer"));
}
break;
@@ -1527,7 +1527,7 @@
case eLIM_CHANNEL_SWITCH_TIMER:
if (tx_timer_deactivate(&pMac->lim.limTimers.gLimChannelSwitchTimer) != eSIR_SUCCESS)
{
- limLog(pMac, LOGP, FL("tx_timer_deactivate failed!\n"));
+ limLog(pMac, LOGP, FL("tx_timer_deactivate failed!"));
return;
}
@@ -1535,7 +1535,7 @@
pMac->lim.gLimChannelSwitch.switchTimeoutValue,
0) != TX_SUCCESS)
{
- limLog(pMac, LOGP, FL("tx_timer_change failed \n"));
+ limLog(pMac, LOGP, FL("tx_timer_change failed "));
return;
}
break;
@@ -1550,7 +1550,7 @@
tx_timer_deactivate(&pMac->lim.limTimers.gLimQuietBssTimer))
{
limLog( pMac, LOGE,
- FL("Unable to de-activate gLimQuietBssTimer! Will attempt to activate anyway...\n"));
+ FL("Unable to de-activate gLimQuietBssTimer! Will attempt to activate anyway..."));
}
// gLimQuietDuration appears to be in units of ticks
@@ -1561,7 +1561,7 @@
0))
{
limLog( pMac, LOGE,
- FL("Unable to change gLimQuietBssTimer! Will still attempt to activate anyway...\n"));
+ FL("Unable to change gLimQuietBssTimer! Will still attempt to activate anyway..."));
}
break;
@@ -1569,7 +1569,7 @@
if( TX_SUCCESS != tx_timer_deactivate(&pMac->lim.limTimers.gLimQuietTimer))
{
limLog( pMac, LOGE,
- FL( "Unable to deactivate gLimQuietTimer! Will still attempt to re-activate anyway...\n" ));
+ FL( "Unable to deactivate gLimQuietTimer! Will still attempt to re-activate anyway..." ));
}
// Set the NEW timeout value, in ticks
@@ -1577,7 +1577,7 @@
SYS_MS_TO_TICKS(pMac->lim.gLimSpecMgmt.quietTimeoutValue), 0))
{
limLog( pMac, LOGE,
- FL( "Unable to change gLimQuietTimer! Will still attempt to re-activate anyway...\n" ));
+ FL( "Unable to change gLimQuietTimer! Will still attempt to re-activate anyway..." ));
}
break;
#endif
@@ -1595,7 +1595,7 @@
// Could not deactivate Learn Interval timer.
// Log error
limLog(pMac, LOGP,
- FL("Unable to deactivate WPS overlap timer\n"));
+ FL("Unable to deactivate WPS overlap timer"));
}
if (tx_timer_change(
@@ -1604,13 +1604,13 @@
{
// Could not change Learn Interval timer.
// Log error
- limLog(pMac, LOGP, FL("Unable to change WPS overlap timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change WPS overlap timer"));
return;
}
limLog( pMac, LOGE,
- FL("Setting WPS overlap TIMER to %d ticks\n"),
+ FL("Setting WPS overlap TIMER to %d ticks"),
WPSOverlapTimer);
}
break;
@@ -1624,7 +1624,7 @@
** Could not deactivate Join Failure
** timer. Log error.
**/
- limLog(pMac, LOGP, FL("Unable to deactivate Preauth response Failure timer\n"));
+ limLog(pMac, LOGP, FL("Unable to deactivate Preauth response Failure timer"));
return;
}
val = 1000;
@@ -1636,7 +1636,7 @@
* Could not change Join Failure
* timer. Log error.
*/
- limLog(pMac, LOGP, FL("Unable to change Join Failure timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change Join Failure timer"));
return;
}
break;
@@ -1646,7 +1646,7 @@
if (tx_timer_deactivate(&pMac->lim.limTimers.gLimCcxTsmTimer)
!= TX_SUCCESS)
{
- limLog(pMac, LOGE, FL("Unable to deactivate TSM timer\n"));
+ limLog(pMac, LOGE, FL("Unable to deactivate TSM timer"));
}
break;
#endif
@@ -1657,7 +1657,7 @@
** Could not deactivate Join Failure
** timer. Log error.
**/
- limLog(pMac, LOGP, FL("Unable to deactivate Remain on Chn timer\n"));
+ limLog(pMac, LOGP, FL("Unable to deactivate Remain on Chn timer"));
return;
}
val = 1000;
@@ -1669,7 +1669,7 @@
* Could not change Join Failure
* timer. Log error.
*/
- limLog(pMac, LOGP, FL("Unable to change timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change timer"));
return;
}
break;
@@ -1680,7 +1680,7 @@
** Could not deactivate Join Failure
** timer. Log error.
**/
- limLog(pMac, LOGP, FL("Unable to deactivate Disassoc ack timer\n"));
+ limLog(pMac, LOGP, FL("Unable to deactivate Disassoc ack timer"));
return;
}
val = 1000;
@@ -1692,7 +1692,7 @@
* Could not change Join Failure
* timer. Log error.
*/
- limLog(pMac, LOGP, FL("Unable to change timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change timer"));
return;
}
break;
@@ -1704,7 +1704,7 @@
** Could not deactivate Join Failure
** timer. Log error.
**/
- limLog(pMac, LOGP, FL("Unable to deactivate Deauth ack timer\n"));
+ limLog(pMac, LOGP, FL("Unable to deactivate Deauth ack timer"));
return;
}
val = 1000;
@@ -1716,7 +1716,7 @@
* Could not change Join Failure
* timer. Log error.
*/
- limLog(pMac, LOGP, FL("Unable to change timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change timer"));
return;
}
break;
@@ -1728,7 +1728,7 @@
** Could not deactivate SingleShot NOA Insert
** timer. Log error.
**/
- limLog(pMac, LOGP, FL("Unable to deactivate SingleShot NOA Insert timer\n"));
+ limLog(pMac, LOGP, FL("Unable to deactivate SingleShot NOA Insert timer"));
return;
}
val = LIM_INSERT_SINGLESHOTNOA_TIMEOUT_VALUE;
@@ -1740,7 +1740,7 @@
* Could not change Single Shot NOA Insert
* timer. Log error.
*/
- limLog(pMac, LOGP, FL("Unable to change timer\n"));
+ limLog(pMac, LOGP, FL("Unable to change timer"));
return;
}
break;
@@ -1774,7 +1774,7 @@
#endif
if (tx_timer_deactivate(&pMac->lim.limTimers.gLimHeartBeatTimer) != TX_SUCCESS)
- limLog(pMac, LOGP, FL("Fail to deactivate HeartBeatTimer \n"));
+ limLog(pMac, LOGP, FL("Fail to deactivate HeartBeatTimer "));
/* HB Timer sessionisation: In case of 2 or more sessions, the HB interval keeps
changing. to avoid this problem, HeartBeat interval is made constant, by
@@ -1784,10 +1784,10 @@
val = LIM_HB_TIMER_BEACON_INTERVAL;
if (wlan_cfgGetInt(pMac, WNI_CFG_HEART_BEAT_THRESHOLD, &val1) != eSIR_SUCCESS)
- limLog(pMac, LOGP, FL("Fail to get WNI_CFG_HEART_BEAT_THRESHOLD \n"));
+ limLog(pMac, LOGP, FL("Fail to get WNI_CFG_HEART_BEAT_THRESHOLD "));
PELOGW(limLog(pMac,LOGW,
- FL("HB Timer Int.=100ms * %d, Beacon Int.=%dms,Session Id=%d \n"),
+ FL("HB Timer Int.=100ms * %d, Beacon Int.=%dms,Session Id=%d "),
val1, psessionEntry->beaconParams.beaconInterval,
psessionEntry->peSessionId);)
@@ -1795,7 +1795,7 @@
val = SYS_MS_TO_TICKS(val * val1);
if (tx_timer_change(&pMac->lim.limTimers.gLimHeartBeatTimer, val, 0) != TX_SUCCESS)
- limLog(pMac, LOGP, FL("Fail to change HeartBeatTimer\n"));
+ limLog(pMac, LOGP, FL("Fail to change HeartBeatTimer"));
} /****** end limHeartBeatDeactivateAndChangeTimer() ******/
@@ -1812,7 +1812,7 @@
void
limReactivateHeartBeatTimer(tpAniSirGlobal pMac, tpPESession psessionEntry)
{
- PELOG3(limLog(pMac, LOG3, FL("Rxed Heartbeat. Count=%d\n"), psessionEntry->LimRxedBeaconCntDuringHB);)
+ PELOG3(limLog(pMac, LOG3, FL("Rxed Heartbeat. Count=%d"), psessionEntry->LimRxedBeaconCntDuringHB);)
#ifdef WLAN_ACTIVEMODE_OFFLOAD_FEATURE
if(IS_ACTIVEMODE_OFFLOAD_FEATURE_ENABLE)
@@ -1829,7 +1829,7 @@
if(pMac->lim.limTimers.gLimHeartBeatTimer.initScheduleTimeInMsecs > 0) {
if (tx_timer_activate(&pMac->lim.limTimers.gLimHeartBeatTimer)!= TX_SUCCESS)
{
- limLog(pMac, LOGP,FL("could not activate Heartbeat timer\n"));
+ limLog(pMac, LOGP,FL("could not activate Heartbeat timer"));
}
limLog(pMac, LOGW, FL("Reactivated heartbeat link monitoring"));
limResetHBPktCount(psessionEntry);
@@ -1874,7 +1874,7 @@
if( TX_SUCCESS != status )
{
PELOGE(limLog(pMac, LOGE,
- FL("could not activate Heartbeat timer status(%d)\n"), status);)
+ FL("could not activate Heartbeat timer status(%d)"), status);)
}
}
else
@@ -1924,7 +1924,7 @@
!= TX_SUCCESS)
{
limLog(pMac, LOGP,
- FL("unable to deactivate CNF wait timer\n"));
+ FL("unable to deactivate CNF wait timer"));
}
@@ -1938,7 +1938,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve cnf timeout value\n"));
+ FL("could not retrieve cnf timeout value"));
}
val = SYS_MS_TO_TICKS(val);
@@ -1947,7 +1947,7 @@
{
// Could not change cnf timer.
// Log error
- limLog(pMac, LOGP, FL("unable to change cnf wait timer\n"));
+ limLog(pMac, LOGP, FL("unable to change cnf wait timer"));
}
break;
@@ -1960,7 +1960,7 @@
if (pAuthNode == NULL)
{
- limLog(pMac, LOGP, FL("Invalid Pre Auth Index passed :%d\n"), staId);
+ limLog(pMac, LOGP, FL("Invalid Pre Auth Index passed :%d"), staId);
break;
}
@@ -1968,7 +1968,7 @@
{
// Could not deactivate auth response timer.
// Log error
- limLog(pMac, LOGP, FL("unable to deactivate auth response timer\n"));
+ limLog(pMac, LOGP, FL("unable to deactivate auth response timer"));
}
// Change timer to reactivate it in future
@@ -1980,7 +1980,7 @@
* from CFG. Log error.
*/
limLog(pMac, LOGP,
- FL("could not retrieve auth response timeout value\n"));
+ FL("could not retrieve auth response timeout value"));
}
val = SYS_MS_TO_TICKS(val);
@@ -1989,7 +1989,7 @@
{
// Could not change auth rsp timer.
// Log error
- limLog(pMac, LOGP, FL("unable to change auth rsp timer\n"));
+ limLog(pMac, LOGP, FL("unable to change auth rsp timer"));
}
}
break;
@@ -2031,7 +2031,7 @@
!= TX_SUCCESS)
{
limLog(pMac, LOGP,
- FL("could not activate cnf wait timer\n"));
+ FL("could not activate cnf wait timer"));
}
}
@@ -2063,7 +2063,7 @@
/// Could not activate auth rsp timer.
// Log error
limLog(pMac, LOGP,
- FL("could not activate auth rsp timer\n"));
+ FL("could not activate auth rsp timer"));
}
}
@@ -2099,7 +2099,7 @@
if ((statusCode = limPostMsgApi(pMac, &msg)) != eSIR_SUCCESS)
limLog(pMac, LOGE,
- FL("posting to LIM failed, reason=%d\n"), statusCode);
+ FL("posting to LIM failed, reason=%d"), statusCode);
}
@@ -2134,7 +2134,7 @@
if ((statusCode = limPostMsgApi(pMac, &msg)) != eSIR_SUCCESS)
limLog(pMac, LOGE,
- FL("posting to LIM failed, reason=%d\n"), statusCode);
+ FL("posting to LIM failed, reason=%d"), statusCode);
}
@@ -2169,7 +2169,7 @@
if ((statusCode = limPostMsgApi(pMac, &msg)) != eSIR_SUCCESS)
limLog(pMac, LOGE,
- FL("posting to LIM failed, reason=%d\n"), statusCode);
+ FL("posting to LIM failed, reason=%d"), statusCode);
}
@@ -2180,7 +2180,7 @@
tpAniSirGlobal pMac = (tpAniSirGlobal)pMacGlobal;
PELOG1(limLog(pMac, LOG1,
- FL("ChannelSwitch Timer expired. Posting msg to LIM \n"));)
+ FL("ChannelSwitch Timer expired. Posting msg to LIM "));)
msg.type = SIR_LIM_CHANNEL_SWITCH_TIMEOUT;
msg.bodyval = (tANI_U32)param;
@@ -2200,7 +2200,7 @@
msg.bodyptr = NULL;
PELOG1(limLog(pMac, LOG1,
- FL("Post SIR_LIM_QUIET_TIMEOUT msg. \n"));)
+ FL("Post SIR_LIM_QUIET_TIMEOUT msg. "));)
limPostMsgApi(pMac, &msg);
}
@@ -2214,7 +2214,7 @@
msg.bodyval = (tANI_U32)param;
msg.bodyptr = NULL;
PELOG1(limLog(pMac, LOG1,
- FL("Post SIR_LIM_QUIET_BSS_TIMEOUT msg. \n"));)
+ FL("Post SIR_LIM_QUIET_BSS_TIMEOUT msg. "));)
limPostMsgApi(pMac, &msg);
}
#if 0
@@ -2228,7 +2228,7 @@
msg.bodyval = (tANI_U32)param;
msg.bodyptr = NULL;
PELOG1(limLog(pMac, LOG1,
- FL("Post SIR_LIM_WPS_OVERLAP_TIMEOUT msg. \n"));)
+ FL("Post SIR_LIM_WPS_OVERLAP_TIMEOUT msg. "));)
limPostMsgApi(pMac, &msg);
}
#endif
@@ -2268,10 +2268,10 @@
msg.bodyptr = psessionEntry;
msg.bodyval = 0;
limLog(pMac, LOGE,
- FL("Heartbeat failure from Riva\n"));
+ FL("Heartbeat failure from Riva"));
if ((statusCode = limPostMsgApi(pMac, &msg)) != eSIR_SUCCESS)
limLog(pMac, LOGE,
- FL("posting message %X to LIM failed, reason=%d\n"),
+ FL("posting message %X to LIM failed, reason=%d"),
msg.type, statusCode);
}
}