Remove redundant new line in log messages
Remove the \n in PE log messages to remove the redundant new line
in log messages.
Change-Id: I1e7b4d0707adf347c641a5011e8c672d22245edf
CRs-Fixed: 441138
diff --git a/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c b/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
index 8f4599c..0211599 100644
--- a/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
@@ -116,7 +116,7 @@
// Received Deauth frame from a BC/MC address
// Log error and ignore it
PELOG1(limLog(pMac, LOG1,
- FL("received Deauth frame from a BC/MC address\n"));)
+ FL("received Deauth frame from a BC/MC address"));)
return;
}
@@ -126,7 +126,7 @@
// Received Deauth frame for a MC address
// Log error and ignore it
PELOG1(limLog(pMac, LOG1,
- FL("received Deauth frame for a MC address\n"));)
+ FL("received Deauth frame for a MC address"));)
return;
}
@@ -159,7 +159,7 @@
if (limCheckDisassocDeauthAckPending(pMac, (tANI_U8*)pHdr->sa))
{
PELOGW(limLog(pMac, LOGE,
- FL("Ignore the Deauth received, while waiting for ack of disassoc/deauth\n"));)
+ FL("Ignore the Deauth received, while waiting for ack of disassoc/deauth"));)
limCleanUpDisassocDeauthReq(pMac,(tANI_U8*)pHdr->sa, 1);
return;
}
@@ -178,7 +178,7 @@
// Invalid reasonCode in received Deauthentication frame
// Log error and ignore the frame
PELOG1(limLog(pMac, LOG1,
- FL("received Deauth frame with invalid reasonCode %d from \n"),
+ FL("received Deauth frame with invalid reasonCode %d from "),
reasonCode);
limPrintMacAddr(pMac, pHdr->sa, LOG1);)
@@ -202,7 +202,7 @@
// Invalid reasonCode in received Deauth frame
// Log error and ignore the frame
PELOG1(limLog(pMac, LOG1,
- FL("received Deauth frame with invalid reasonCode %d from \n"),
+ FL("received Deauth frame with invalid reasonCode %d from "),
reasonCode);
limPrintMacAddr(pMac, pHdr->sa, LOG1);)
@@ -214,7 +214,7 @@
// Received Deauth frame in either IBSS
// or un-known role. Log error and ignore it
limLog(pMac, LOGE,
- FL("received Deauth frame with reasonCode %d in role %d from \n"),
+ FL("received Deauth frame with reasonCode %d in role %d from "),
reasonCode, psessionEntry->limSystemRole);
limPrintMacAddr(pMac, pHdr->sa, LOGE);
@@ -245,7 +245,7 @@
}
if (limIsReassocInProgress(pMac,psessionEntry) || limIsReassocInProgress(pMac,pRoamSessionEntry)) {
if (!IS_REASSOC_BSSID(pMac,pHdr->sa,psessionEntry)) {
- PELOGE(limLog(pMac, LOGE, FL("Rcv Deauth from unknown/different AP while ReAssoc. Ignore \n"));)
+ PELOGE(limLog(pMac, LOGE, FL("Rcv Deauth from unknown/different AP while ReAssoc. Ignore "));)
limPrintMacAddr(pMac, pHdr->sa, LOGE);
limPrintMacAddr(pMac, psessionEntry->limReAssocbssId, LOGE);
return;
@@ -255,7 +255,7 @@
* Drop ReAssoc and Restore the Previous context( current connected AP).
*/
if (!IS_CURRENT_BSSID(pMac, pHdr->sa,psessionEntry)) {
- PELOGE(limLog(pMac, LOGE, FL("received DeAuth from the New AP to which ReAssoc is sent \n"));)
+ PELOGE(limLog(pMac, LOGE, FL("received DeAuth from the New AP to which ReAssoc is sent "));)
limPrintMacAddr(pMac, pHdr->sa, LOGE);
limPrintMacAddr(pMac, psessionEntry->bssId, LOGE);
limRestorePreReassocState(pMac,
@@ -271,10 +271,10 @@
if(psessionEntry->limSystemRole != eLIM_AP_ROLE ){
if (!IS_CURRENT_BSSID(pMac, pHdr->bssId, psessionEntry))
{
- PELOGE(limLog(pMac, LOGE, FL("received DeAuth from an AP other than we're trying to join. Ignore. \n"));)
+ PELOGE(limLog(pMac, LOGE, FL("received DeAuth from an AP other than we're trying to join. Ignore. "));)
if (limSearchPreAuthList(pMac, pHdr->sa))
{
- PELOGE(limLog(pMac, LOGE, FL("Preauth entry exist. Deleting... \n"));)
+ PELOGE(limLog(pMac, LOGE, FL("Preauth entry exist. Deleting... "));)
limDeletePreAuthNode(pMac, pHdr->sa);
}
return;
@@ -476,7 +476,7 @@
psessionEntry->limAssocResponseData = NULL;
}
- PELOGE(limLog(pMac, LOGE, FL("Rcv Deauth from ReAssoc AP. Issue REASSOC_CNF. \n"));)
+ PELOGE(limLog(pMac, LOGE, FL("Rcv Deauth from ReAssoc AP. Issue REASSOC_CNF. "));)
/*
* TODO: Instead of overloading eSIR_SME_FT_REASSOC_TIMEOUT_FAILURE
* it would have been good to define/use a different failure type.