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/limProcessSmeReqMessages.c b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
index bd19f1e..48a6e0b 100644
--- a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
+++ b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
@@ -138,7 +138,7 @@
         limDeactivateAndChangeTimer(pMac, eLIM_BACKGROUND_SCAN_TIMER);
      MTRACE(macTrace(pMac, TRACE_CODE_TIMER_ACTIVATE, NO_SESSION, eLIM_BACKGROUND_SCAN_TIMER));
         if (tx_timer_activate(&pMac->lim.limTimers.gLimBackgroundScanTimer) != TX_SUCCESS)
-            limLog(pMac, LOGP, FL("could not activate background scan timer\n"));
+            limLog(pMac, LOGP, FL("could not activate background scan timer"));
         pMac->lim.gLimBackgroundScanStarted   = true;
         pMac->lim.gLimBackgroundScanChannelId = 0;
     }
@@ -189,7 +189,7 @@
             
         }
     }
-    PELOG1(limLog(pMac, LOG1, FL("FreshScanReqd: %d \n"), validState);)
+    PELOG1(limLog(pMac, LOG1, FL("FreshScanReqd: %d "), validState);)
 
    if( (validState) && (returnFreshResults & SIR_BG_SCAN_RETURN_FRESH_RESULTS))
     return TRUE;
@@ -284,10 +284,10 @@
     {
         if (limDeferMsg(pMac, pMsg) != TX_SUCCESS)
         {
-            PELOGE(limLog(pMac, LOGE, FL("Could not defer Msg = %d\n"), pMsg->type);)
+            PELOGE(limLog(pMac, LOGE, FL("Could not defer Msg = %d"), pMsg->type);)
             return eANI_BOOLEAN_FALSE;
         }
-        PELOG1(limLog(pMac, LOG1, FL("Defer the message, in learn mode type = %d\n"),
+        PELOG1(limLog(pMac, LOG1, FL("Defer the message, in learn mode type = %d"),
                                                                  pMsg->type);)
 
         /** Send finish scan req to HAL only if LIM is not waiting for any response
@@ -328,10 +328,10 @@
     {
         if (limDeferMsg(pMac, pMsg) != TX_SUCCESS)
         {
-            PELOGE(limLog(pMac, LOGE, FL("Could not defer Msg = %d\n"), pMsg->type);)
+            PELOGE(limLog(pMac, LOGE, FL("Could not defer Msg = %d"), pMsg->type);)
             return eANI_BOOLEAN_FALSE;
         }
-        PELOG1(limLog(pMac, LOG1, FL("Defer the message, in learn mode type = %d\n"),
+        PELOG1(limLog(pMac, LOG1, FL("Defer the message, in learn mode type = %d"),
                                                                  pMsg->type);)
         return eANI_BOOLEAN_TRUE;
     }
@@ -365,7 +365,7 @@
     tANI_U16         smetransactionId;
     
 
-   PELOG1(limLog(pMac, LOG1, FL("Received START_REQ\n"));)
+   PELOG1(limLog(pMac, LOG1, FL("Received START_REQ"));)
 
     limGetSessionInfo(pMac,(tANI_U8 *)pMsgBuf,&smesessionId,&smetransactionId);
     
@@ -394,7 +394,7 @@
             if (cfgSetInt(pMac, WNI_CFG_NEW_BSS_FOUND_IND, ((tSirSmeStartReq *) pMsgBuf)->sendNewBssInd)
                 != eSIR_SUCCESS)
             {
-                limLog(pMac, LOGP, FL("could not set NEIGHBOR_BSS_IND at CFG\n"));
+                limLog(pMac, LOGP, FL("could not set NEIGHBOR_BSS_IND at CFG"));
                 retCode = eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
             }
         }
@@ -406,7 +406,7 @@
          * other than OFFLINE. Return response to host and
          * log error
          */
-        limLog(pMac, LOGE, FL("Invalid SME_START_REQ received in SME state %X\n"),pMac->lim.gLimSmeState );
+        limLog(pMac, LOGE, FL("Invalid SME_START_REQ received in SME state %X"),pMac->lim.gLimSmeState );
         limPrintSmeState(pMac, LOGE, pMac->lim.gLimSmeState);
         retCode = eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
     }
@@ -436,12 +436,12 @@
     {
         peRegisterTLHandle(pMac);
     }
-    PELOGW(limLog(pMac, LOGW, FL("sending WDA_SYS_READY_IND msg to HAL\n"));)
+    PELOGW(limLog(pMac, LOGW, FL("sending WDA_SYS_READY_IND msg to HAL"));)
     MTRACE(macTraceMsgTx(pMac, NO_SESSION, msg.type));
 
     if (eSIR_SUCCESS != wdaPostCtrlMsg(pMac, &msg))
     {
-        limLog(pMac, LOGP, FL("wdaPostCtrlMsg failed\n"));
+        limLog(pMac, LOGP, FL("wdaPostCtrlMsg failed"));
         return eANI_BOOLEAN_TRUE;
     }
     return eANI_BOOLEAN_FALSE;
@@ -542,7 +542,7 @@
     limDiagEventReport(pMac, WLAN_PE_DIAG_START_BSS_REQ_EVENT, NULL, 0, 0);
 #endif //FEATURE_WLAN_DIAG_SUPPORT
     
-    PELOG1(limLog(pMac, LOG1, FL("Received START_BSS_REQ\n"));)
+    PELOG1(limLog(pMac, LOG1, FL("Received START_BSS_REQ"));)
 
     /* Global Sme state and mlm states are not defined yet , for BT-AMP Suppoprt . TO BE DONE */
     if ( (pMac->lim.gLimSmeState == eLIM_SME_OFFLINE_STATE) ||
@@ -553,7 +553,7 @@
 
         if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pSmeStartBssReq, size))
         {
-            PELOGE(limLog(pMac, LOGE, FL("palAllocateMemory failed for pMac->lim.gpLimStartBssReq\n"));)
+            PELOGE(limLog(pMac, LOGE, FL("palAllocateMemory failed for pMac->lim.gpLimStartBssReq"));)
             /// Send failure response to host
             retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
             goto end;
@@ -564,13 +564,13 @@
         if ((limStartBssReqSerDes(pMac, pSmeStartBssReq, (tANI_U8 *) pMsgBuf) == eSIR_FAILURE) ||
                 (!limIsSmeStartBssReqValid(pMac, pSmeStartBssReq)))
         {
-            PELOGW(limLog(pMac, LOGW, FL("Received invalid eWNI_SME_START_BSS_REQ\n"));)
+            PELOGW(limLog(pMac, LOGW, FL("Received invalid eWNI_SME_START_BSS_REQ"));)
             retCode = eSIR_SME_INVALID_PARAMETERS;
             goto free;
         }
 #if 0   
        PELOG3(limLog(pMac, LOG3,
-           FL("Parsed START_BSS_REQ fields are bssType=%d, channelId=%d\n"),
+           FL("Parsed START_BSS_REQ fields are bssType=%d, channelId=%d"),
            pMac->lim.gpLimStartBssReq->bssType, pMac->lim.gpLimStartBssReq->channelId);)
 #endif 
 
@@ -578,7 +578,7 @@
          * If session is not existed , then create a new session */
         if((psessionEntry = peFindSessionByBssid(pMac,pSmeStartBssReq->bssId,&sessionId)) != NULL)
         {
-            limLog(pMac, LOGW, FL("Session Already exists for given BSSID\n"));
+            limLog(pMac, LOGW, FL("Session Already exists for given BSSID"));
             retCode = eSIR_SME_BSS_ALREADY_STARTED_OR_JOINED;
             psessionEntry = NULL;
             goto free;
@@ -587,7 +587,7 @@
         {
             if((psessionEntry = peCreateSession(pMac,pSmeStartBssReq->bssId,&sessionId, pMac->lim.maxStation)) == NULL)
             {
-                limLog(pMac, LOGW, FL("Session Can not be created \n"));
+                limLog(pMac, LOGW, FL("Session Can not be created "));
                 retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
                 goto free;
             }
@@ -716,7 +716,7 @@
             if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&psessionEntry->parsedAssocReq,
                                                           (psessionEntry->dph.dphHashTable.size * sizeof(tpSirAssocReq)) ))
             {
-                limLog(pMac, LOGW, FL("palAllocateMemory() failed\n"));
+                limLog(pMac, LOGW, FL("palAllocateMemory() failed"));
                 retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
                 goto free;
             }
@@ -742,7 +742,7 @@
                           &chanWidth) != eSIR_SUCCESS)
                 {
                     limLog(pMac, LOGP,
-                      FL("Unable to retrieve Channel Width from CFG\n"));
+                      FL("Unable to retrieve Channel Width from CFG"));
                 }
 
                 if(chanWidth == eHT_CHANNEL_WIDTH_20MHZ || chanWidth == eHT_CHANNEL_WIDTH_40MHZ)
@@ -750,7 +750,7 @@
                     if (cfgSetInt(pMac, WNI_CFG_VHT_CHANNEL_WIDTH, WNI_CFG_VHT_CHANNEL_WIDTH_20_40MHZ)
                                                                      != eSIR_SUCCESS)
                     {
-                        limLog(pMac, LOGP, FL("could not set  WNI_CFG_CHANNEL_BONDING_MODE at CFG\n"));
+                        limLog(pMac, LOGP, FL("could not set  WNI_CFG_CHANNEL_BONDING_MODE at CFG"));
                         retCode = eSIR_LOGP_EXCEPTION;
                          goto free;
                     }
@@ -760,7 +760,7 @@
                     if (cfgSetInt(pMac, WNI_CFG_VHT_CHANNEL_WIDTH, WNI_CFG_VHT_CHANNEL_WIDTH_80MHZ)
                                                                      != eSIR_SUCCESS)
                     {
-                        limLog(pMac, LOGP, FL("could not set  WNI_CFG_CHANNEL_BONDING_MODE at CFG\n"));
+                        limLog(pMac, LOGP, FL("could not set  WNI_CFG_CHANNEL_BONDING_MODE at CFG"));
                         retCode = eSIR_LOGP_EXCEPTION;
                          goto free;
                     }
@@ -768,12 +768,12 @@
                     centerChan = limGetCenterChannel(pMac,channelNumber,pSmeStartBssReq->cbMode,WNI_CFG_VHT_CHANNEL_WIDTH_80MHZ);
                     if(centerChan != eSIR_CFG_INVALID_ID)
                     {
-                        limLog(pMac, LOGW, FL("***Center Channel for 80MHZ channel width = %ld\n"),centerChan);          
+                        limLog(pMac, LOGW, FL("***Center Channel for 80MHZ channel width = %ld"),centerChan);
                         psessionEntry->apCenterChan = centerChan;
                         if (cfgSetInt(pMac, WNI_CFG_VHT_CHANNEL_CENTER_FREQ_SEGMENT1, centerChan)
                                                                      != eSIR_SUCCESS)
                         {
-                            limLog(pMac, LOGP, FL("could not set  WNI_CFG_CHANNEL_BONDING_MODE at CFG\n"));
+                            limLog(pMac, LOGP, FL("could not set  WNI_CFG_CHANNEL_BONDING_MODE at CFG"));
                             retCode = eSIR_LOGP_EXCEPTION;
                             goto free;
                         }
@@ -787,7 +787,7 @@
                                    &chanWidth) != eSIR_SUCCESS)
                 {
                     limLog(pMac, LOGP,
-                      FL("Unable to retrieve Channel Width from CFG\n"));
+                      FL("Unable to retrieve Channel Width from CFG"));
                 }
                 /*For Sta+p2p-Go concurrency  
                   vhtTxChannelWidthSet is used for storing p2p-GO channel width
@@ -802,7 +802,7 @@
         }
         else
         {
-            PELOGW(limLog(pMac, LOGW, FL("Received invalid eWNI_SME_START_BSS_REQ\n"));)
+            PELOGW(limLog(pMac, LOGW, FL("Received invalid eWNI_SME_START_BSS_REQ"));)
             retCode = eSIR_SME_INVALID_PARAMETERS;
             goto free;
         }
@@ -843,7 +843,7 @@
         // Prepare and Issue LIM_MLM_START_REQ to MLM
         if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pMlmStartReq, sizeof(tLimMlmStartReq)))
         {
-            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for mlmStartReq\n"));
+            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for mlmStartReq"));
             retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
             goto free;
         }
@@ -870,7 +870,7 @@
             //len = sizeof(tSirMacAddr);
             //retStatus = wlan_cfgGetStr(pMac, WNI_CFG_STA_ID, (tANI_U8 *) pMlmStartReq->bssId, &len);
             //if (retStatus != eSIR_SUCCESS)
-            //limLog(pMac, LOGP, FL("could not retrive BSSID, retStatus=%d\n"), retStatus);
+            //limLog(pMac, LOGP, FL("could not retrive BSSID, retStatus=%d"), retStatus);
 
             /* Copy the BSSId from sessionTable to mlmStartReq struct */
             sirCopyMacAddr(pMlmStartReq->bssId,psessionEntry->bssId);
@@ -882,7 +882,7 @@
 
             if((retStatus = wlan_cfgGetInt(pMac, WNI_CFG_IBSS_AUTO_BSSID, &autoGenBssId)) != eSIR_SUCCESS)
             {
-                limLog(pMac, LOGP, FL("Could not retrieve Auto Gen BSSID, retStatus=%d\n"), retStatus);
+                limLog(pMac, LOGP, FL("Could not retrieve Auto Gen BSSID, retStatus=%d"), retStatus);
                 retCode = eSIR_LOGP_EXCEPTION;
                 goto free;
             }
@@ -894,7 +894,7 @@
                 
                 if(pMlmStartReq->bssId[0] & 0x01)
                 {
-                   PELOGE(limLog(pMac, LOGE, FL("Request to start IBSS with group BSSID\n Autogenerating the BSSID\n"));)                    
+                   PELOGE(limLog(pMac, LOGE, FL("Request to start IBSS with group BSSID\n Autogenerating the BSSID"));)
                    autoGenBssId = TRUE;
                 }             
             }
@@ -921,16 +921,16 @@
         }else
         {
             if (wlan_cfgGetInt(pMac, WNI_CFG_DTIM_PERIOD, &val) != eSIR_SUCCESS)
-                limLog(pMac, LOGP, FL("could not retrieve DTIM Period\n"));
+                limLog(pMac, LOGP, FL("could not retrieve DTIM Period"));
             pMlmStartReq->dtimPeriod = (tANI_U8)val;
         }   
             
         if (wlan_cfgGetInt(pMac, WNI_CFG_CFP_PERIOD, &val) != eSIR_SUCCESS)
-            limLog(pMac, LOGP, FL("could not retrieve Beacon interval\n"));
+            limLog(pMac, LOGP, FL("could not retrieve Beacon interval"));
         pMlmStartReq->cfParamSet.cfpPeriod = (tANI_U8)val;
             
         if (wlan_cfgGetInt(pMac, WNI_CFG_CFP_MAX_DURATION, &val) != eSIR_SUCCESS)
-            limLog(pMac, LOGP, FL("could not retrieve CFPMaxDuration\n"));
+            limLog(pMac, LOGP, FL("could not retrieve CFPMaxDuration"));
         pMlmStartReq->cfParamSet.cfpMaxDuration = (tANI_U16) val;
         
         //this may not be needed anymore now, as rateSet is now included in the session entry and MLM has session context.
@@ -957,14 +957,14 @@
             (SIR_BAND_5_GHZ == psessionEntry->limRFBand) )
         {
             if (wlan_cfgGetInt(pMac, WNI_CFG_11H_ENABLED, &val) != eSIR_SUCCESS)
-                limLog(pMac, LOGP, FL("Fail to get WNI_CFG_11H_ENABLED \n"));
+                limLog(pMac, LOGP, FL("Fail to get WNI_CFG_11H_ENABLED "));
             psessionEntry->lim11hEnable = val;
         }
             
         if (!psessionEntry->lim11hEnable)
         {
             if (cfgSetInt(pMac, WNI_CFG_LOCAL_POWER_CONSTRAINT, 0) != eSIR_SUCCESS)
-                limLog(pMac, LOGP, FL("Fail to get WNI_CFG_11H_ENABLED \n"));
+                limLog(pMac, LOGP, FL("Fail to get WNI_CFG_11H_ENABLED "));
         }
 
         psessionEntry ->limPrevSmeState = psessionEntry->limSmeState;
@@ -977,7 +977,7 @@
     else
     {
        
-        limLog(pMac, LOGE, FL("Received unexpected START_BSS_REQ, in state %X\n"),pMac->lim.gLimSmeState);
+        limLog(pMac, LOGE, FL("Received unexpected START_BSS_REQ, in state %X"),pMac->lim.gLimSmeState);
         retCode = eSIR_SME_BSS_ALREADY_STARTED_OR_JOINED;
         goto end;
     } // if (pMac->lim.gLimSmeState == eLIM_SME_OFFLINE_STATE)
@@ -1092,7 +1092,7 @@
 #endif //FEATURE_WLAN_DIAG_SUPPORT
     
     pScanReq = (tpSirSmeScanReq) pMsgBuf;   
-    PELOG1(limLog(pMac, LOG1, FL("SME SCAN REQ numChan %d min %d max %d IELen %d first %d fresh %d unique %d type %d mode %d rsp %d\n"),
+    PELOG1(limLog(pMac, LOG1, FL("SME SCAN REQ numChan %d min %d max %d IELen %d first %d fresh %d unique %d type %d mode %d rsp %d"),
            pScanReq->channelList.numChannels,
            pScanReq->minChannelTime,
            pScanReq->maxChannelTime,
@@ -1123,7 +1123,7 @@
        
     if (!limIsSmeScanReqValid(pMac, pScanReq))
     {
-        PELOGW(limLog(pMac, LOGW, FL("Received SME_SCAN_REQ with invalid parameters\n"));)
+        PELOGW(limLog(pMac, LOGW, FL("Received SME_SCAN_REQ with invalid parameters"));)
 
         if (pMac->lim.gLimRspReqd)
         {
@@ -1221,7 +1221,7 @@
             {
                 // Log error
                 limLog(pMac, LOGP,
-                       FL("call to palAllocateMemory failed for mlmScanReq (%d)\n"), len);
+                       FL("call to palAllocateMemory failed for mlmScanReq (%d)"), len);
 
                 return;
             }
@@ -1239,7 +1239,7 @@
                  * Log error.
                  */
                 limLog(pMac, LOGP,
-                       FL("could not retrieve Valid channel list\n"));
+                       FL("could not retrieve Valid channel list"));
             }
             pMlmScanReq->channelList.numChannels = (tANI_U8) cfg_len;
         }
@@ -1253,7 +1253,7 @@
             {
                 // Log error
                 limLog(pMac, LOGP,
-                    FL("call to palAllocateMemory failed for mlmScanReq(%d)\n"), len);
+                    FL("call to palAllocateMemory failed for mlmScanReq(%d)"), len);
 
                 return;
             }
@@ -1363,7 +1363,7 @@
     //post the lim mlm message now
     if(eHAL_STATUS_SUCCESS != palAllocateMemory(pMac->hHdd, (void**)&pMlmOemDataReq, (sizeof(tLimMlmOemDataReq))))
     {
-        limLog(pMac, LOGP, FL("palAllocateMemory failed for mlmOemDataReq\n"));
+        limLog(pMac, LOGP, FL("palAllocateMemory failed for mlmOemDataReq"));
         return;
     }
 
@@ -1422,7 +1422,7 @@
     limDiagEventReport(pMac, WLAN_PE_DIAG_JOIN_REQ_EVENT, NULL, 0, 0);
 #endif //FEATURE_WLAN_DIAG_SUPPORT
 
-    PELOG1(limLog(pMac, LOG1, FL("Received SME_JOIN_REQ\n"));)
+    PELOG1(limLog(pMac, LOG1, FL("Received SME_JOIN_REQ"));)
 
 #ifdef WLAN_FEATURE_VOWIFI
     /* Need to read the CFG here itself as this is used in limExtractAPCapability() below.
@@ -1430,7 +1430,7 @@
     * read, RRM related path before calling rrmUpdateConfig() is not getting executed causing issues 
     * like not honoring power constraint on 1st association after driver loading. */
     if (wlan_cfgGetInt(pMac, WNI_CFG_RRM_ENABLED, &val) != eSIR_SUCCESS)
-        limLog(pMac, LOGP, FL("cfg get rrm enabled failed\n"));
+        limLog(pMac, LOGP, FL("cfg get rrm enabled failed"));
     pMac->rrm.rrmPEContext.rrmEnable = (val) ? 1 : 0;
     val = 0;
 #endif /* WLAN_FEATURE_VOWIFI */
@@ -1446,7 +1446,7 @@
         nSize = __limGetSmeJoinReqSizeForAlloc((tANI_U8*) pMsgBuf);
         if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pSmeJoinReq, nSize))
         {
-            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pSmeJoinReq\n"));
+            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pSmeJoinReq"));
             retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
             goto end;
         }
@@ -1457,7 +1457,7 @@
         {
             /// Received invalid eWNI_SME_JOIN_REQ
             // Log the event
-            limLog(pMac, LOGW, FL("received SME_JOIN_REQ with invalid data\n"));
+            limLog(pMac, LOGW, FL("received SME_JOIN_REQ with invalid data"));
             retCode = eSIR_SME_INVALID_PARAMETERS;
             goto end;
         }
@@ -1470,7 +1470,7 @@
         {
             if(peValidateBtJoinRequest(pMac)!= TRUE)
             {
-                limLog(pMac, LOGW, FL("Start Bss session not present::SME_JOIN_REQ in unexpected state\n"));
+                limLog(pMac, LOGW, FL("Start Bss session not present::SME_JOIN_REQ in unexpected state"));
                 retCode = eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
                 psessionEntry = NULL;
                 goto end;   
@@ -1482,14 +1482,14 @@
 
         if((psessionEntry = peFindSessionByBssid(pMac,pSmeJoinReq->bssDescription.bssId,&sessionId)) != NULL)
         {
-            limLog(pMac, LOGE, FL("Session Already exists for given BSSID\n"));
+            limLog(pMac, LOGE, FL("Session Already exists for given BSSID"));
             
             if(psessionEntry->limSmeState == eLIM_SME_LINK_EST_STATE)
             {
                 // Received eWNI_SME_JOIN_REQ for same
                 // BSS as currently associated.
                 // Log the event and send success
-                PELOGW(limLog(pMac, LOGW, FL("Received SME_JOIN_REQ for currently joined BSS\n"));)
+                PELOGW(limLog(pMac, LOGW, FL("Received SME_JOIN_REQ for currently joined BSS"));)
                 /// Send Join success response to host
                 retCode = eSIR_SME_SUCCESS;
                 goto end;
@@ -1506,7 +1506,7 @@
             /* Try to Create a new session */
             if((psessionEntry = peCreateSession(pMac,pSmeJoinReq->bssDescription.bssId,&sessionId, pMac->lim.maxStation)) == NULL)
             {
-                limLog(pMac, LOGE, FL("Session Can not be created \n"));
+                limLog(pMac, LOGE, FL("Session Can not be created "));
                 retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
                 goto end;
             }
@@ -1543,13 +1543,13 @@
 #ifdef WLAN_FEATURE_11AC
         psessionEntry->vhtCapability = IS_DOT11_MODE_VHT(psessionEntry->dot11mode);
         VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO_MED,
-            "***__limProcessSmeJoinReq: vhtCapability=%d****\n",psessionEntry->vhtCapability);
+            "***__limProcessSmeJoinReq: vhtCapability=%d****",psessionEntry->vhtCapability);
         if (psessionEntry->vhtCapability )
         {
             psessionEntry->txBFIniFeatureEnabled = pSmeJoinReq->txBFIniFeatureEnabled;
 
             VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO_MED,
-                "***__limProcessSmeJoinReq: txBFIniFeatureEnabled=%d****\n",
+                "***__limProcessSmeJoinReq: txBFIniFeatureEnabled=%d****",
                 psessionEntry->txBFIniFeatureEnabled);
 
             if( psessionEntry->txBFIniFeatureEnabled )
@@ -1557,7 +1557,7 @@
                 if (cfgSetInt(pMac, WNI_CFG_VHT_SU_BEAMFORMEE_CAP, psessionEntry->txBFIniFeatureEnabled)
                                                              != eSIR_SUCCESS)
                 {
-                    limLog(pMac, LOGP, FL("could not set  WNI_CFG_VHT_SU_BEAMFORMEE_CAP at CFG\n"));
+                    limLog(pMac, LOGP, FL("could not set  WNI_CFG_VHT_SU_BEAMFORMEE_CAP at CFG"));
                     retCode = eSIR_LOGP_EXCEPTION;
                     goto end;
                 }
@@ -1567,7 +1567,7 @@
                 if (cfgSetInt(pMac, WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED, pSmeJoinReq->txBFCsnValue)
                                                              != eSIR_SUCCESS)
                 {
-                    limLog(pMac, LOGP, FL("could not set  WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED at CFG\n"));
+                    limLog(pMac, LOGP, FL("could not set  WNI_CFG_VHT_CSN_BEAMFORMEE_ANT_SUPPORTED at CFG"));
                     retCode = eSIR_LOGP_EXCEPTION;
                     goto end;
                 }
@@ -1639,7 +1639,7 @@
             else
             {   
                 /* Throw an error and return and make sure to delete the session.*/
-                limLog(pMac, LOGW, FL("received SME_JOIN_REQ with invalid bss type\n"));
+                limLog(pMac, LOGW, FL("received SME_JOIN_REQ with invalid bss type"));
                 retCode = eSIR_SME_INVALID_PARAMETERS;
                 goto end;
             }    
@@ -1659,7 +1659,7 @@
         val = sizeof(tLimMlmJoinReq) + psessionEntry->pLimJoinReq->bssDescription.length + 2;
         if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pMlmJoinReq, val))
         {
-            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for mlmJoinReq\n"));
+            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for mlmJoinReq"));
             return;
         }
         (void) palZeroMemory(pMac->hHdd, (void *) pMlmJoinReq, val);
@@ -1669,7 +1669,7 @@
         
         if (wlan_cfgGetInt(pMac, WNI_CFG_JOIN_FAILURE_TIMEOUT, (tANI_U32 *) &pMlmJoinReq->joinFailureTimeout)
             != eSIR_SUCCESS)
-            limLog(pMac, LOGP, FL("could not retrieve JoinFailureTimer value\n"));
+            limLog(pMac, LOGP, FL("could not retrieve JoinFailureTimer value"));
 
         /* copy operational rate from psessionEntry*/
         palCopyMemory(pMac->hHdd, (void*)&psessionEntry->rateSet, (void*)&pSmeJoinReq->operationalRateSet,
@@ -1715,7 +1715,7 @@
         if (pMac->lim.gLimCurrentBssUapsd)
         {
             pMac->lim.gUapsdPerAcBitmask = psessionEntry->pLimJoinReq->uapsdPerAcBitmask;
-            limLog( pMac, LOG1, FL("UAPSD flag for all AC - 0x%2x\n"), pMac->lim.gUapsdPerAcBitmask);
+            limLog( pMac, LOG1, FL("UAPSD flag for all AC - 0x%2x"), pMac->lim.gUapsdPerAcBitmask);
 
             // resetting the dynamic uapsd mask 
             pMac->lim.gUapsdPerAcDeliveryEnableMask = 0;
@@ -1728,7 +1728,7 @@
         if(SIR_BAND_5_GHZ == psessionEntry->limRFBand)
         {
             if (wlan_cfgGetInt(pMac, WNI_CFG_11H_ENABLED, &val) != eSIR_SUCCESS)
-                limLog(pMac, LOGP, FL("Fail to get WNI_CFG_11H_ENABLED \n"));
+                limLog(pMac, LOGP, FL("Fail to get WNI_CFG_11H_ENABLED "));
             psessionEntry->lim11hEnable = val;
         }
         else
@@ -1741,7 +1741,7 @@
             psessionEntry->limSmeState = eLIM_SME_WT_JOIN_STATE;
             MTRACE(macTrace(pMac, TRACE_CODE_SME_STATE, psessionEntry->peSessionId, psessionEntry->limSmeState));
 
-        PELOG1(limLog(pMac, LOG1, FL("SME JoinReq: SSID %d.%c%c%c%c%c%c\n"),
+        PELOG1(limLog(pMac, LOG1, FL("SME JoinReq: SSID %d.%c%c%c%c%c%c"),
                psessionEntry->ssId.length,
                psessionEntry->ssId.ssId[0],
                psessionEntry->ssId.ssId[1],
@@ -1749,7 +1749,7 @@
                psessionEntry->ssId.ssId[3],
                psessionEntry->ssId.ssId[4],
                psessionEntry->ssId.ssId[5]);
-        limLog(pMac, LOG1, FL("Channel %d, BSSID %x:%x:%x:%x:%x:%x\n"),
+        limLog(pMac, LOG1, FL("Channel %d, BSSID %x:%x:%x:%x:%x:%x"),
                psessionEntry->currentOperChannel,
                psessionEntry->bssId[0],
                psessionEntry->bssId[1],
@@ -1769,7 +1769,7 @@
     else
     {
         /* Received eWNI_SME_JOIN_REQ un expected state */
-        limLog(pMac, LOGE, FL("received unexpected SME_JOIN_REQ in state %X\n"), pMac->lim.gLimSmeState);
+        limLog(pMac, LOGE, FL("received unexpected SME_JOIN_REQ in state %X"), pMac->lim.gLimSmeState);
         limPrintSmeState(pMac, LOGE, pMac->lim.gLimSmeState);
         retCode = eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
         psessionEntry = NULL;
@@ -1855,14 +1855,14 @@
     tANI_U16            nSize;
 
 
-    PELOG3(limLog(pMac, LOG3, FL("Received REASSOC_REQ\n"));)
+    PELOG3(limLog(pMac, LOG3, FL("Received REASSOC_REQ"));)
     
     nSize = __limGetSmeJoinReqSizeForAlloc((tANI_U8 *) pMsgBuf);
     if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pReassocReq, nSize ))
     {
         // Log error
         limLog(pMac, LOGP,
-               FL("call to palAllocateMemory failed for pReassocReq\n"));
+               FL("call to palAllocateMemory failed for pReassocReq"));
 
         retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
         goto end;
@@ -1876,7 +1876,7 @@
         /// Received invalid eWNI_SME_REASSOC_REQ
         // Log the event
         limLog(pMac, LOGW,
-               FL("received SME_REASSOC_REQ with invalid data\n"));
+               FL("received SME_REASSOC_REQ with invalid data"));
 
         retCode = eSIR_SME_INVALID_PARAMETERS;
         goto end;
@@ -1885,7 +1885,7 @@
    if((psessionEntry = peFindSessionByBssid(pMac,pReassocReq->bssDescription.bssId,&sessionId))==NULL)
     {
         limPrintMacAddr(pMac, pReassocReq->bssDescription.bssId, LOGE);
-        limLog(pMac, LOGP, FL("Session does not exist for given bssId\n"));
+        limLog(pMac, LOGP, FL("Session does not exist for given bssId"));
         retCode = eSIR_SME_INVALID_PARAMETERS;
         goto end;
     }
@@ -1918,7 +1918,7 @@
             {
                 limPrintMacAddr(pMac, pReassocReq->bssDescription.bssId, LOGE);
                 limPrintMacAddr(pMac, pMac->ft.ftPEContext.pFTPreAuthReq->preAuthbssId, LOGE);
-                limLog(pMac, LOGP, FL("Unknown bssId in reassoc state\n"));
+                limLog(pMac, LOGP, FL("Unknown bssId in reassoc state"));
                 retCode = eSIR_SME_INVALID_PARAMETERS;
                 goto end;
             }
@@ -1930,7 +1930,7 @@
         /// Should not have received eWNI_SME_REASSOC_REQ
         // Log the event
         limLog(pMac, LOGE,
-               FL("received unexpected SME_REASSOC_REQ in state %X\n"),
+               FL("received unexpected SME_REASSOC_REQ in state %X"),
                psessionEntry->limSmeState);
         limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
 
@@ -1978,7 +1978,7 @@
                   &cfgLen) != eSIR_SUCCESS)
     {
         /// Could not get SSID from CFG. Log error.
-        limLog(pMac, LOGP, FL("could not retrive SSID\n"));
+        limLog(pMac, LOGP, FL("could not retrive SSID"));
     }
     #endif//TO SUPPORT BT-AMP
     
@@ -1997,14 +1997,14 @@
     if (pMac->lim.gLimCurrentBssUapsd)
     {
         pMac->lim.gUapsdPerAcBitmask = psessionEntry->pLimReAssocReq->uapsdPerAcBitmask;
-        limLog( pMac, LOG1, FL("UAPSD flag for all AC - 0x%2x\n"), pMac->lim.gUapsdPerAcBitmask);
+        limLog( pMac, LOG1, FL("UAPSD flag for all AC - 0x%2x"), pMac->lim.gUapsdPerAcBitmask);
     }
 
     if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pMlmReassocReq, sizeof(tLimMlmReassocReq)))
     {
         // Log error
         limLog(pMac, LOGP,
-               FL("call to palAllocateMemory failed for mlmReassocReq\n"));
+               FL("call to palAllocateMemory failed for mlmReassocReq"));
 
         retCode = eSIR_SME_RESOURCES_UNAVAILABLE;
         goto end;
@@ -2023,7 +2023,7 @@
          * from CFG. Log error.
          */
         limLog(pMac, LOGP,
-               FL("could not retrieve ReassocFailureTimeout value\n"));
+               FL("could not retrieve ReassocFailureTimeout value"));
     }
 
     if (cfgGetCapabilityInfo(pMac, &caps,psessionEntry) != eSIR_SUCCESS)
@@ -2033,7 +2033,7 @@
          * from CFG. Log error.
          */
         limLog(pMac, LOGP,
-               FL("could not retrieve Capabilities value\n"));
+               FL("could not retrieve Capabilities value"));
     }
     pMlmReassocReq->capabilityInfo = caps;
     
@@ -2044,7 +2044,7 @@
      WNI_CFG_TELE_BCN_MAX_LI */
     if(wlan_cfgGetInt(pMac, WNI_CFG_TELE_BCN_WAKEUP_EN, &teleBcnEn) != 
        eSIR_SUCCESS) 
-       limLog(pMac, LOGP, FL("Couldn't get WNI_CFG_TELE_BCN_WAKEUP_EN\n"));
+       limLog(pMac, LOGP, FL("Couldn't get WNI_CFG_TELE_BCN_WAKEUP_EN"));
    
     val = WNI_CFG_LISTEN_INTERVAL_STADEF;
    
@@ -2057,7 +2057,7 @@
             * Could not get ListenInterval value
             * from CFG. Log error.
           */
-          limLog(pMac, LOGP, FL("could not retrieve ListenInterval\n"));
+          limLog(pMac, LOGP, FL("could not retrieve ListenInterval"));
        }
     }
     else
@@ -2068,7 +2068,7 @@
             * Could not get ListenInterval value
             * from CFG. Log error.
           */
-          limLog(pMac, LOGP, FL("could not retrieve ListenInterval\n"));
+          limLog(pMac, LOGP, FL("could not retrieve ListenInterval"));
        }
     }
 
@@ -2153,11 +2153,11 @@
     tANI_U8                 smesessionId;
     tANI_U16                smetransactionId;
 
-    PELOG1(limLog(pMac, LOG1,FL("received DISASSOC_REQ message\n"));)
+    PELOG1(limLog(pMac, LOG1,FL("received DISASSOC_REQ message"));)
     
     if (pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE, FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE, FL("Buffer is Pointing to NULL"));
         return;
     }
 
@@ -2169,7 +2169,7 @@
          (!limIsSmeDisassocReqValid(pMac, &smeDisassocReq, psessionEntry)) )
     {
         PELOGE(limLog(pMac, LOGE,
-               FL("received invalid SME_DISASSOC_REQ message\n"));)
+               FL("received invalid SME_DISASSOC_REQ message"));)
 
         if (pMac->lim.gLimRspReqd)
         {
@@ -2184,13 +2184,13 @@
     }
 
 
-    PELOG1(limLog(pMac, LOG1,   FL("received DISASSOC_REQ message. Reason: %d global SmeState: %d"), 
+    PELOG1(limLog(pMac, LOG1,   FL("received DISASSOC_REQ message. Reason: %d global SmeState: %d"),
                                                         smeDisassocReq.reasonCode, pMac->lim.gLimSmeState);)
 
 
     if((psessionEntry = peFindSessionByBssid(pMac,smeDisassocReq.bssId,&sessionId))== NULL)
     {
-        limLog(pMac, LOGE,FL("session does not exist for given bssId\n"));
+        limLog(pMac, LOGE,FL("session does not exist for given bssId"));
         retCode = eSIR_SME_INVALID_PARAMETERS;
         disassocTrigger = eLIM_HOST_DISASSOC;
         goto sendDisassoc;
@@ -2227,7 +2227,7 @@
                      */                  
                     psessionEntry->limSmeState= eLIM_SME_WT_DISASSOC_STATE;
                     MTRACE(macTrace(pMac, TRACE_CODE_SME_STATE, psessionEntry->peSessionId, psessionEntry->limSmeState));
-                    limLog(pMac, LOG1, FL("Rcvd SME_DISASSOC_REQ while in SME_WT_DEAUTH_STATE. \n"));
+                    limLog(pMac, LOG1, FL("Rcvd SME_DISASSOC_REQ while in SME_WT_DEAUTH_STATE. "));
                     break;
 
                 case eLIM_SME_WT_DISASSOC_STATE:
@@ -2240,7 +2240,7 @@
                      * It will send a disassoc, which is ok. However, we can use the global flag
                      * sendDisassoc to not send disassoc frame.
                      */
-                    limLog(pMac, LOG1, FL("Rcvd SME_DISASSOC_REQ while in SME_WT_DISASSOC_STATE. \n"));
+                    limLog(pMac, LOG1, FL("Rcvd SME_DISASSOC_REQ while in SME_WT_DISASSOC_STATE. "));
                     break;
 
                 case eLIM_SME_JOIN_FAILURE_STATE: {
@@ -2257,7 +2257,7 @@
                      * Log error and send response to host
                      */
                     limLog(pMac, LOGE,
-                       FL("received unexpected SME_DISASSOC_REQ in state %X\n"),
+                       FL("received unexpected SME_DISASSOC_REQ in state %X"),
                        psessionEntry->limSmeState);
                     limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
 
@@ -2285,7 +2285,7 @@
         case eLIM_STA_IN_IBSS_ROLE:
         default: // eLIM_UNKNOWN_ROLE
             limLog(pMac, LOGE,
-               FL("received unexpected SME_DISASSOC_REQ for role %d\n"),
+               FL("received unexpected SME_DISASSOC_REQ for role %d"),
                psessionEntry->limSystemRole);
 
             retCode = eSIR_SME_UNEXPECTED_REQ_RESULT_CODE;
@@ -2314,7 +2314,7 @@
     {
         // Log error
         limLog(pMac, LOGP,
-               FL("call to palAllocateMemory failed for mlmDisassocReq\n"));
+               FL("call to palAllocateMemory failed for mlmDisassocReq"));
 
         return;
     }
@@ -2372,25 +2372,25 @@
     tANI_U8             sessionId;
 
 
-    PELOG1(limLog(pMac, LOG1, FL("received DISASSOC_CNF message\n"));)
+    PELOG1(limLog(pMac, LOG1, FL("received DISASSOC_CNF message"));)
 
     status = limDisassocCnfSerDes(pMac, &smeDisassocCnf,(tANI_U8 *) pMsgBuf);
 
     if (status == eSIR_FAILURE)
     {
-        PELOGE(limLog(pMac, LOGE, FL("invalid SME_DISASSOC_CNF message\n"));)
+        PELOGE(limLog(pMac, LOGE, FL("invalid SME_DISASSOC_CNF message"));)
         return;
     }
 
     if((psessionEntry = peFindSessionByBssid(pMac, smeDisassocCnf.bssId, &sessionId))== NULL)
     {
-         limLog(pMac, LOGE,FL("session does not exist for given bssId\n"));
+         limLog(pMac, LOGE,FL("session does not exist for given bssId"));
          return;
     }
 
     if (!limIsSmeDisassocCnfValid(pMac, &smeDisassocCnf, psessionEntry))
     {
-        limLog(pMac, LOGW, FL("received invalid SME_DISASSOC_CNF message\n"));
+        limLog(pMac, LOGW, FL("received invalid SME_DISASSOC_CNF message"));
         return;
     }
 
@@ -2410,7 +2410,7 @@
                 (psessionEntry->limSmeState != eLIM_SME_WT_DEAUTH_STATE))
             {
                 limLog(pMac, LOGE,
-                   FL("received unexp SME_DISASSOC_CNF in state %X\n"),
+                   FL("received unexp SME_DISASSOC_CNF in state %X"),
                   psessionEntry->limSmeState);
                 limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
                 return;
@@ -2424,7 +2424,7 @@
         case eLIM_STA_IN_IBSS_ROLE:
         default: // eLIM_UNKNOWN_ROLE
             limLog(pMac, LOGE,
-               FL("received unexpected SME_DISASSOC_CNF role %d\n"),
+               FL("received unexpected SME_DISASSOC_CNF role %d"),
                psessionEntry->limSystemRole);
 
             return;
@@ -2485,7 +2485,7 @@
     tANI_U8                 smesessionId;  
     tANI_U16                smetransactionId;
     
-    PELOG1(limLog(pMac, LOG1,FL("received DEAUTH_REQ message\n"));)
+    PELOG1(limLog(pMac, LOG1,FL("received DEAUTH_REQ message"));)
 
     status = limDeauthReqSerDes(pMac, &smeDeauthReq,(tANI_U8 *) pMsgBuf);
 
@@ -2494,7 +2494,7 @@
     //We need to get a session first but we don't even know if the message is correct.
     if((psessionEntry = peFindSessionByBssid(pMac, smeDeauthReq.bssId, &sessionId)) == NULL)
     {
-       limLog(pMac, LOGE,FL("session does not exist for given bssId\n"));
+       limLog(pMac, LOGE,FL("session does not exist for given bssId"));
        retCode = eSIR_SME_INVALID_PARAMETERS;
        deauthTrigger = eLIM_HOST_DEAUTH;
        goto sendDeauth;
@@ -2503,7 +2503,7 @@
 
     if ((status == eSIR_FAILURE) || (!limIsSmeDeauthReqValid(pMac, &smeDeauthReq, psessionEntry)))
     {
-        PELOGE(limLog(pMac, LOGW,FL("received invalid SME_DEAUTH_REQ message\n"));)
+        PELOGE(limLog(pMac, LOGW,FL("received invalid SME_DEAUTH_REQ message"));)
         if (pMac->lim.gLimRspReqd)
         {
             pMac->lim.gLimRspReqd = false;
@@ -2551,7 +2551,7 @@
                      * peer. Log error and send response to host.
                      */
                     limLog(pMac, LOGE,
-                    FL("received unexp SME_DEAUTH_REQ in state %X\n"),psessionEntry->limSmeState);
+                    FL("received unexp SME_DEAUTH_REQ in state %X"),psessionEntry->limSmeState);
                     limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
 
                     if (pMac->lim.gLimRspReqd)
@@ -2579,7 +2579,7 @@
 
         default:
             limLog(pMac, LOGE,
-               FL("received unexpected SME_DEAUTH_REQ for role %X\n"),psessionEntry->limSystemRole);
+               FL("received unexpected SME_DEAUTH_REQ for role %X"),psessionEntry->limSystemRole);
 
             return;
     } // end switch (pMac->lim.gLimSystemRole)
@@ -2587,7 +2587,7 @@
     if (smeDeauthReq.reasonCode == eLIM_LINK_MONITORING_DEAUTH)
     {
         /// Deauthentication is triggered by Link Monitoring
-        PELOG1(limLog(pMac, LOG1, FL("**** Lost link with AP ****\n"));)
+        PELOG1(limLog(pMac, LOG1, FL("**** Lost link with AP ****"));)
         deauthTrigger = eLIM_LINK_MONITORING_DEAUTH;
         reasonCode    = eSIR_MAC_UNSPEC_FAILURE_REASON;
     }
@@ -2602,7 +2602,7 @@
     {
         // Log error
         limLog(pMac, LOGP,
-               FL("call to palAllocateMemory failed for mlmDeauthReq\n"));
+               FL("call to palAllocateMemory failed for mlmDeauthReq"));
 
         return;
     }
@@ -2662,12 +2662,12 @@
     
 
     PELOG1(limLog(pMac, LOG1,
-           FL("received SETCONTEXT_REQ message\n")););
+           FL("received SETCONTEXT_REQ message")););
 
     
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
         return;
     }
 
@@ -2676,20 +2676,20 @@
     if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pSetContextReq,
                                                 (sizeof(tSirKeys) * SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS)))
     {
-        limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pSetContextReq\n"));
+        limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pSetContextReq"));
         return;
     }
 
     if ((limSetContextReqSerDes(pMac, pSetContextReq, (tANI_U8 *) pMsgBuf) == eSIR_FAILURE) ||
         (!limIsSmeSetContextReqValid(pMac, pSetContextReq)))
     {
-        limLog(pMac, LOGW, FL("received invalid SME_SETCONTEXT_REQ message\n")); 
+        limLog(pMac, LOGW, FL("received invalid SME_SETCONTEXT_REQ message"));
         goto end;
     }
 
     if(pSetContextReq->keyMaterial.numKeys > SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS)
     {
-        PELOGE(limLog(pMac, LOGE, FL("numKeys:%d is more than SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS\n"), pSetContextReq->keyMaterial.numKeys);)        
+        PELOGE(limLog(pMac, LOGE, FL("numKeys:%d is more than SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS"), pSetContextReq->keyMaterial.numKeys);)
         limSendSmeSetContextRsp(pMac,
                                 pSetContextReq->peerMacAddr,
                                 1,
@@ -2702,7 +2702,7 @@
 
     if((psessionEntry = peFindSessionByBssid(pMac, pSetContextReq->bssId, &sessionId)) == NULL)
     {
-        limLog(pMac, LOGW, FL("Session does not exist for given BSSID\n"));
+        limLog(pMac, LOGW, FL("Session does not exist for given BSSID"));
         limSendSmeSetContextRsp(pMac,
                                 pSetContextReq->peerMacAddr,
                                 1,
@@ -2727,7 +2727,7 @@
         if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd, (void **)&pMlmSetKeysReq, sizeof(tLimMlmSetKeysReq)))
         {
             // Log error
-            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for mlmSetKeysReq\n"));
+            limLog(pMac, LOGP, FL("call to palAllocateMemory failed for mlmSetKeysReq"));
             goto end;
         }
 
@@ -2735,7 +2735,7 @@
         pMlmSetKeysReq->numKeys = pSetContextReq->keyMaterial.numKeys;
         if(pMlmSetKeysReq->numKeys > SIR_MAC_MAX_NUM_OF_DEFAULT_KEYS)
         {
-            limLog(pMac, LOGP, FL("Num of keys exceeded max num of default keys limit\n"));
+            limLog(pMac, LOGP, FL("Num of keys exceeded max num of default keys limit"));
             goto end;
         }
         palCopyMemory( pMac->hHdd, (tANI_U8 *) &pMlmSetKeysReq->peerMacAddr,
@@ -2750,7 +2750,7 @@
         pMlmSetKeysReq->sessionId = sessionId;
 #ifdef WLAN_FEATURE_VOWIFI_11R_DEBUG
         PELOG1(limLog(pMac, LOG1,
-           FL("received SETCONTEXT_REQ message sessionId=%d\n"), pMlmSetKeysReq->sessionId););
+           FL("received SETCONTEXT_REQ message sessionId=%d"), pMlmSetKeysReq->sessionId););
 #endif
 
         if(((pSetContextReq->keyMaterial.edType == eSIR_ED_WEP40) || (pSetContextReq->keyMaterial.edType == eSIR_ED_WEP104))
@@ -2778,7 +2778,7 @@
     else
     {
         limLog(pMac, LOGE,
-           FL("received unexpected SME_SETCONTEXT_REQ for role %d, state=%X\n"),
+           FL("received unexpected SME_SETCONTEXT_REQ for role %d, state=%X"),
            psessionEntry->limSystemRole,
            psessionEntry->limSmeState);
         limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
@@ -2824,11 +2824,11 @@
     tANI_U16                smetransactionId;
 
     PELOG1(limLog(pMac, LOG1,
-           FL("received REMOVEKEY_REQ message\n"));)
+           FL("received REMOVEKEY_REQ message"));)
 
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
            return;
     }
 
@@ -2840,7 +2840,7 @@
     {
         //Log error
         limLog(pMac, LOGP,
-               FL("call to palAllocateMemory failed for pRemoveKeyReq\n"));
+               FL("call to palAllocateMemory failed for pRemoveKeyReq"));
 
         return;
      }
@@ -2850,13 +2850,13 @@
                                 (tANI_U8 *) pMsgBuf) == eSIR_FAILURE))
     {
         limLog(pMac, LOGW,
-               FL("received invalid SME_REMOVECONTEXT_REQ message\n"));
+               FL("received invalid SME_REMOVECONTEXT_REQ message"));
 
         /* extra look up is needed since, session entry to be passed il limsendremovekey response */
 
         if((psessionEntry = peFindSessionByBssid(pMac,pRemoveKeyReq->bssId,&sessionId))== NULL)
         {     
-            limLog(pMac, LOGE,FL("session does not exist for given bssId\n"));
+            limLog(pMac, LOGE,FL("session does not exist for given bssId"));
             //goto end;
         }
 
@@ -2871,7 +2871,7 @@
     if((psessionEntry = peFindSessionByBssid(pMac,pRemoveKeyReq->bssId, &sessionId))== NULL)
     {
         limLog(pMac, LOGE,
-                      FL("session does not exist for given bssId\n"));
+                      FL("session does not exist for given bssId"));
         limSendSmeRemoveKeyRsp(pMac,
                                 pRemoveKeyReq->peerMacAddr,
                                 eSIR_SME_UNEXPECTED_REQ_RESULT_CODE, NULL,
@@ -2891,7 +2891,7 @@
         {
             // Log error
             limLog(pMac, LOGP,
-                   FL("call to palAllocateMemory failed for mlmRemoveKeysReq\n"));
+                   FL("call to palAllocateMemory failed for mlmRemoveKeysReq"));
 
             goto end;
         }
@@ -2916,7 +2916,7 @@
     else
     {
         limLog(pMac, LOGE,
-           FL("received unexpected SME_REMOVEKEY_REQ for role %d, state=%X\n"),
+           FL("received unexpected SME_REMOVEKEY_REQ for role %d, state=%X"),
            psessionEntry->limSystemRole,
            psessionEntry->limSmeState);
         limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
@@ -2939,13 +2939,13 @@
 
     if(pMac->lim.scanChnInfo.numChnInfo > SIR_MAX_SUPPORTED_CHANNEL_LIST)
     {
-        limLog(pMac, LOGW, FL("numChn is out of bounds %d\n"),
+        limLog(pMac, LOGW, FL("numChn is out of bounds %d"),
                 pMac->lim.scanChnInfo.numChnInfo);
         pMac->lim.scanChnInfo.numChnInfo = SIR_MAX_SUPPORTED_CHANNEL_LIST;
     }
 
     PELOG2(limLog(pMac, LOG2,
-           FL("Sending message %s with number of channels %d\n"),
+           FL("Sending message %s with number of channels %d"),
            limMsgStr(eWNI_SME_GET_SCANNED_CHANNEL_RSP), pMac->lim.scanChnInfo.numChnInfo);)
 
     len = sizeof(tSmeGetScanChnRsp) + (pMac->lim.scanChnInfo.numChnInfo - 1) * sizeof(tLimScanChn);
@@ -2953,7 +2953,7 @@
     {
         /// Buffer not available. Log error
         limLog(pMac, LOGP,
-               FL("call to palAllocateMemory failed for JOIN/REASSOC_RSP\n"));
+               FL("call to palAllocateMemory failed for JOIN/REASSOC_RSP"));
 
         return;
     }
@@ -2996,7 +2996,7 @@
     if (!limIsSmeGetAssocSTAsReqValid(pMac, &getAssocSTAsReq, (tANI_U8 *) pMsgBuf))
     {
         limLog(pMac, LOGE,
-                        FL("received invalid eWNI_SME_GET_ASSOC_STAS_REQ message\n"));
+                        FL("received invalid eWNI_SME_GET_ASSOC_STAS_REQ message"));
         goto limAssocStaEnd;
     }
 
@@ -3021,14 +3021,14 @@
     if ((psessionEntry = peFindSessionByBssid(pMac, getAssocSTAsReq.bssId, &sessionId)) == NULL)
     {
         limLog(pMac, LOGE,
-                        FL("session does not exist for given bssId\n"));
+                        FL("session does not exist for given bssId"));
         goto limAssocStaEnd;
     }
 
     if (psessionEntry->limSystemRole != eLIM_AP_ROLE)
     {
         limLog(pMac, LOGE,
-                        FL("Received unexpected message in state %X, in role %X\n"),
+                        FL("Received unexpected message in state %X, in role %X"),
                         psessionEntry->limSmeState , psessionEntry->limSystemRole);
         goto limAssocStaEnd;
     }
@@ -3114,7 +3114,7 @@
     if (limIsSmeGetWPSPBCSessionsReqValid(pMac,  &GetWPSPBCSessionsReq, (tANI_U8 *) pMsgBuf) != eSIR_SUCCESS)
     {
         limLog(pMac, LOGE,
-                        FL("received invalid eWNI_SME_GET_ASSOC_STAS_REQ message\n"));
+                        FL("received invalid eWNI_SME_GET_ASSOC_STAS_REQ message"));
         goto limGetWPSPBCSessionsEnd;
     }
 
@@ -3123,14 +3123,14 @@
     if ((psessionEntry = peFindSessionByBssid(pMac, GetWPSPBCSessionsReq.bssId, &sessionId)) == NULL)
     {
         limLog(pMac, LOGE,
-                        FL("session does not exist for given bssId\n"));
+                        FL("session does not exist for given bssId"));
         goto limGetWPSPBCSessionsEnd;
     }
 
     if (psessionEntry->limSystemRole != eLIM_AP_ROLE)
     {
         limLog(pMac, LOGE,
-                        FL("Received unexpected message in role %X\n"),
+                        FL("Received unexpected message in role %X"),
                         psessionEntry->limSystemRole);
         goto limGetWPSPBCSessionsEnd;
     }
@@ -3153,7 +3153,7 @@
       return;
     }
     
-    PELOG4(limLog(pMac, LOGE, FL("wpsPBCOverlap %d\n"), sapEvent.sapevt.sapGetWPSPBCSessionEvent.wpsPBCOverlap);)
+    PELOG4(limLog(pMac, LOGE, FL("wpsPBCOverlap %d"), sapEvent.sapevt.sapGetWPSPBCSessionEvent.wpsPBCOverlap);)
     PELOG4(limPrintMacAddr(pMac, sapEvent.sapevt.sapGetWPSPBCSessionEvent.addr.bytes, LOG4);)
     
     sapEvent.sapevt.sapGetWPSPBCSessionEvent.status = VOS_STATUS_SUCCESS;
@@ -3206,13 +3206,13 @@
     if ( limTkipCntrMeasReqSerDes( pMac, &tkipCntrMeasReq, (tANI_U8 *) pMsgBuf ) != eSIR_SUCCESS )
     {
         limLog(pMac, LOGE,
-                        FL("received invalid eWNI_SME_TKIP_CNTR_MEAS_REQ message\n"));
+                        FL("received invalid eWNI_SME_TKIP_CNTR_MEAS_REQ message"));
         return;
     }
 
     if ( NULL == (psessionEntry = peFindSessionByBssid( pMac, tkipCntrMeasReq.bssId, &sessionId )) )
     {
-        limLog(pMac, LOGE, FL("session does not exist for given BSSID \n"));
+        limLog(pMac, LOGE, FL("session does not exist for given BSSID "));
         return;
     }
 
@@ -3243,7 +3243,7 @@
     if ((limStopBssReqSerDes(pMac, &stopBssReq, (tANI_U8 *) pMsgBuf) != eSIR_SUCCESS) ||
         !limIsSmeStopBssReqValid(pMsgBuf))
     {
-        PELOGW(limLog(pMac, LOGW, FL("received invalid SME_STOP_BSS_REQ message\n"));)
+        PELOGW(limLog(pMac, LOGW, FL("received invalid SME_STOP_BSS_REQ message"));)
         /// Send Stop BSS response to host
         limSendSmeRsp(pMac, eWNI_SME_STOP_BSS_RSP, eSIR_SME_INVALID_PARAMETERS,smesessionId,smetransactionId);
         return;
@@ -3252,7 +3252,7 @@
  
     if((psessionEntry = peFindSessionByBssid(pMac,stopBssReq.bssId,&sessionId)) == NULL)
     {
-        limLog(pMac, LOGW, FL("session does not exist for given BSSID \n"));
+        limLog(pMac, LOGW, FL("session does not exist for given BSSID "));
         limSendSmeRsp(pMac, eWNI_SME_STOP_BSS_RSP, eSIR_SME_INVALID_PARAMETERS,smesessionId,smetransactionId);
         return;
     }
@@ -3271,7 +3271,7 @@
          * mode. Log error and return response to host.
          */
         limLog(pMac, LOGE,
-           FL("received unexpected SME_STOP_BSS_REQ in state %X, for role %d\n"),
+           FL("received unexpected SME_STOP_BSS_REQ in state %X, for role %d"),
            psessionEntry->limSmeState, psessionEntry->limSystemRole);
         limPrintSmeState(pMac, LOGE, psessionEntry->limSmeState);
         /// Send Stop BSS response to host
@@ -3283,7 +3283,7 @@
     {
         limWPSPBCClose(pMac, psessionEntry);
     }
-    PELOGW(limLog(pMac, LOGW, FL("RECEIVED STOP_BSS_REQ with reason code=%d\n"), stopBssReq.reasonCode);)
+    PELOGW(limLog(pMac, LOGW, FL("RECEIVED STOP_BSS_REQ with reason code=%d"), stopBssReq.reasonCode);)
 
     prevState = psessionEntry->limSmeState;
 
@@ -3313,7 +3313,7 @@
     
     if (status != eSIR_SUCCESS)
     {
-        PELOGE(limLog(pMac, LOGE, FL("delBss failed for bss %d\n"), psessionEntry->bssIdx);)
+        PELOGE(limLog(pMac, LOGE, FL("delBss failed for bss %d"), psessionEntry->bssIdx);)
         psessionEntry->limSmeState= prevState;
 
         MTRACE(macTrace(pMac, TRACE_CODE_SME_STATE, psessionEntry->peSessionId, psessionEntry->limSmeState));
@@ -3390,27 +3390,27 @@
 
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE, FL("pMsgBuf is NULL \n"));
+        limLog(pMac, LOGE, FL("pMsgBuf is NULL "));
         goto end;
     }
 
     if ((limAssocCnfSerDes(pMac, &assocCnf, (tANI_U8 *) pMsgBuf) == eSIR_FAILURE) ||
         !__limIsSmeAssocCnfValid(&assocCnf))
     {
-        limLog(pMac, LOGE, FL("Received invalid SME_RE(ASSOC)_CNF message \n"));
+        limLog(pMac, LOGE, FL("Received invalid SME_RE(ASSOC)_CNF message "));
         goto end;
     }
 
     if((psessionEntry = peFindSessionByBssid(pMac, assocCnf.bssId, &sessionId))== NULL)
     {        
-        limLog(pMac, LOGE, FL("session does not exist for given bssId\n"));
+        limLog(pMac, LOGE, FL("session does not exist for given bssId"));
         goto end;
     }
 
     if ( ((psessionEntry->limSystemRole != eLIM_AP_ROLE) && (psessionEntry->limSystemRole != eLIM_BT_AMP_AP_ROLE)) ||
          ((psessionEntry->limSmeState != eLIM_SME_NORMAL_STATE) && (psessionEntry->limSmeState != eLIM_SME_NORMAL_CHANNEL_SCAN_STATE)))
     {
-        limLog(pMac, LOGE, FL("Received unexpected message %X in state %X, in role %X\n"),
+        limLog(pMac, LOGE, FL("Received unexpected message %X in state %X, in role %X"),
                msgType, psessionEntry->limSmeState , psessionEntry->limSystemRole);
         goto end;
     }
@@ -3453,7 +3453,7 @@
     ** Deactivate/delet CNF_WAIT timer since ASSOC_CNF
     ** has been received
     **/
-    limLog(pMac, LOG1, FL("Received SME_ASSOC_CNF. Delete Timer\n"));
+    limLog(pMac, LOG1, FL("Received SME_ASSOC_CNF. Delete Timer"));
     limDeactivateAndChangePerStaIdTimer(pMac, eLIM_CNF_WAIT_TIMER, pStaDs->assocId);
 
     if (assocCnf.statusCode == eSIR_SME_SUCCESS)
@@ -3463,7 +3463,7 @@
          * Association Response frame to the requesting BTAMP-STA.
          */
         pStaDs->mlmStaContext.mlmState = eLIM_MLM_LINK_ESTABLISHED_STATE;
-        limLog(pMac, LOG1, FL("sending Assoc Rsp frame to STA (assoc id=%d) \n"), pStaDs->assocId);
+        limLog(pMac, LOG1, FL("sending Assoc Rsp frame to STA (assoc id=%d) "), pStaDs->assocId);
         limSendAssocRspMgmtFrame( pMac, eSIR_SUCCESS, pStaDs->assocId, pStaDs->staAddr, 
                                   pStaDs->mlmStaContext.subType, pStaDs, psessionEntry);
         goto end;      
@@ -3518,7 +3518,7 @@
 
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
            return;
     }
 
@@ -3528,7 +3528,7 @@
 
     if((psessionEntry = peFindSessionByBssid(pMac, pSirAddts->bssId,&sessionId))== NULL)
     {
-        limLog(pMac, LOGE, "Session Does not exist for given bssId\n");
+        limLog(pMac, LOGE, "Session Does not exist for given bssId");
         return;
     }
 #ifdef FEATURE_WLAN_DIAG_SUPPORT_LIM //FEATURE_WLAN_DIAG_SUPPORT 
@@ -3544,13 +3544,13 @@
      * if ap, just ignore with error log
      */
     PELOG1(limLog(pMac, LOG1,
-           FL("Received SME_ADDTS_REQ (TSid %d, UP %d)\n"),
+           FL("Received SME_ADDTS_REQ (TSid %d, UP %d)"),
            pSirAddts->req.tspec.tsinfo.traffic.tsid,
            pSirAddts->req.tspec.tsinfo.traffic.userPrio);)
 
     if ((psessionEntry->limSystemRole != eLIM_STA_ROLE)&&(psessionEntry->limSystemRole != eLIM_BT_AMP_STA_ROLE))
     {
-        PELOGE(limLog(pMac, LOGE, "AddTs received on AP - ignoring\n");)
+        PELOGE(limLog(pMac, LOGE, "AddTs received on AP - ignoring");)
         limSendSmeAddtsRsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE, psessionEntry, pSirAddts->req.tspec, 
                 smesessionId,smetransactionId);
         return;
@@ -3559,7 +3559,7 @@
     //Ignore the request if STA is in 11B mode.
     if(psessionEntry->dot11mode == WNI_CFG_DOT11_MODE_11B)
     {
-        PELOGE(limLog(pMac, LOGE, "AddTS received while Dot11Mode is 11B - ignoring\n");)
+        PELOGE(limLog(pMac, LOGE, "AddTS received while Dot11Mode is 11B - ignoring");)
         limSendSmeAddtsRsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE, psessionEntry, pSirAddts->req.tspec, 
                 smesessionId,smetransactionId);
         return;
@@ -3570,7 +3570,7 @@
 
     if(pStaDs == NULL)
     {
-        PELOGE(limLog(pMac, LOGE, "Cannot find AP context for addts req\n");)
+        PELOGE(limLog(pMac, LOGE, "Cannot find AP context for addts req");)
         limSendSmeAddtsRsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE, psessionEntry, pSirAddts->req.tspec,
             smesessionId,smetransactionId);
         return;
@@ -3579,7 +3579,7 @@
     if ((! pStaDs->valid) ||
         (pStaDs->mlmStaContext.mlmState != eLIM_MLM_LINK_ESTABLISHED_STATE))
     {
-        PELOGE(limLog(pMac, LOGE, "AddTs received in invalid MLM state\n");)
+        PELOGE(limLog(pMac, LOGE, "AddTs received in invalid MLM state");)
         limSendSmeAddtsRsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE, psessionEntry, pSirAddts->req.tspec,
             smesessionId,smetransactionId);
         return;
@@ -3598,7 +3598,7 @@
         pSirAddts->req.lleTspecPresent = 1;
     else
     {
-        PELOGW(limLog(pMac, LOGW, FL("ADDTS_REQ ignore - qos is disabled\n"));)
+        PELOGW(limLog(pMac, LOGW, FL("ADDTS_REQ ignore - qos is disabled"));)
         limSendSmeAddtsRsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE, psessionEntry, pSirAddts->req.tspec,
             smesessionId,smetransactionId);
         return;
@@ -3607,7 +3607,7 @@
     if ((psessionEntry->limSmeState != eLIM_SME_ASSOCIATED_STATE) &&
         (psessionEntry->limSmeState != eLIM_SME_LINK_EST_STATE))
     {
-        limLog(pMac, LOGE, "AddTs received in invalid LIMsme state (%d)\n",
+        limLog(pMac, LOGE, "AddTs received in invalid LIMsme state (%d)",
               psessionEntry->limSmeState);
         limSendSmeAddtsRsp(pMac, pSirAddts->rspReqd, eSIR_FAILURE, psessionEntry, pSirAddts->req.tspec,
             smesessionId,smetransactionId);
@@ -3616,7 +3616,7 @@
 
     if (pMac->lim.gLimAddtsSent)
     {
-        limLog(pMac, LOGE, "Addts (token %d, tsid %d, up %d) is still pending\n",
+        limLog(pMac, LOGE, "Addts (token %d, tsid %d, up %d) is still pending",
                pMac->lim.gLimAddtsReq.req.dialogToken,
                pMac->lim.gLimAddtsReq.req.tspec.tsinfo.traffic.tsid,
                pMac->lim.gLimAddtsReq.req.tspec.tsinfo.traffic.userPrio);
@@ -3630,7 +3630,7 @@
     if (wlan_cfgGetStr(pMac, WNI_CFG_BSSID, peerMac, &val) != eSIR_SUCCESS)
     {
         /// Could not get BSSID from CFG. Log error.
-        limLog(pMac, LOGP, FL("could not retrieve BSSID\n"));
+        limLog(pMac, LOGP, FL("could not retrieve BSSID"));
         return;
     }
     #endif
@@ -3643,14 +3643,14 @@
     // ship out the message now
     limSendAddtsReqActionFrame(pMac, peerMac, &pSirAddts->req,
             psessionEntry);
-    PELOG1(limLog(pMac, LOG1, "Sent ADDTS request\n");)
+    PELOG1(limLog(pMac, LOG1, "Sent ADDTS request");)
 
     // start a timer to wait for the response
     if (pSirAddts->timeout) 
         timeout = pSirAddts->timeout;
     else if (wlan_cfgGetInt(pMac, WNI_CFG_ADDTS_RSP_TIMEOUT, &timeout) != eSIR_SUCCESS)
     {
-        limLog(pMac, LOGP, FL("Unable to get Cfg param %d (Addts Rsp Timeout)\n"),
+        limLog(pMac, LOGP, FL("Unable to get Cfg param %d (Addts Rsp Timeout)"),
                WNI_CFG_ADDTS_RSP_TIMEOUT);
         return;
     }
@@ -3658,14 +3658,14 @@
     timeout = SYS_MS_TO_TICKS(timeout);
     if (tx_timer_change(&pMac->lim.limTimers.gLimAddtsRspTimer, timeout, 0) != TX_SUCCESS)
     {
-        limLog(pMac, LOGP, FL("AddtsRsp timer change failed!\n"));
+        limLog(pMac, LOGP, FL("AddtsRsp timer change failed!"));
         return;
     }
     pMac->lim.gLimAddtsRspTimerCount++;
     if (tx_timer_change_context(&pMac->lim.limTimers.gLimAddtsRspTimer,
                                 pMac->lim.gLimAddtsRspTimerCount) != TX_SUCCESS)
     {
-        limLog(pMac, LOGP, FL("AddtsRsp timer change failed!\n"));
+        limLog(pMac, LOGP, FL("AddtsRsp timer change failed!"));
         return;
     }
     MTRACE(macTrace(pMac, TRACE_CODE_TIMER_ACTIVATE, psessionEntry->peSessionId, eLIM_ADDTS_RSP_TIMER));
@@ -3674,7 +3674,7 @@
     pMac->lim.limTimers.gLimAddtsRspTimer.sessionId = sessionId;
     if (tx_timer_activate(&pMac->lim.limTimers.gLimAddtsRspTimer) != TX_SUCCESS)
     {
-        limLog(pMac, LOGP, FL("AddtsRsp timer activation failed!\n"));
+        limLog(pMac, LOGP, FL("AddtsRsp timer activation failed!"));
         return;
     }
     return;
@@ -3699,7 +3699,7 @@
     
     if((psessionEntry = peFindSessionByBssid(pMac, pDeltsReq->bssId, &sessionId))== NULL)
     {
-        limLog(pMac, LOGE, "Session Does not exist for given bssId\n");
+        limLog(pMac, LOGE, "Session Does not exist for given bssId");
         status = eSIR_FAILURE;
         goto end;
     }
@@ -3710,13 +3710,13 @@
 
     if (eSIR_SUCCESS != limValidateDeltsReq(pMac, pDeltsReq, peerMacAddr,psessionEntry))
     {
-        PELOGE(limLog(pMac, LOGE, FL("limValidateDeltsReq failed\n"));)
+        PELOGE(limLog(pMac, LOGE, FL("limValidateDeltsReq failed"));)
         status = eSIR_FAILURE;
         limSendSmeDeltsRsp(pMac, pDeltsReq, eSIR_FAILURE,psessionEntry,smesessionId,smetransactionId);
         return;
     }
 
-    PELOG1(limLog(pMac, LOG1, FL("Sent DELTS request to station with assocId = %d MacAddr = %x:%x:%x:%x:%x:%x\n"),
+    PELOG1(limLog(pMac, LOG1, FL("Sent DELTS request to station with assocId = %d MacAddr = %x:%x:%x:%x:%x:%x"),
               pDeltsReq->aid, peerMacAddr[0], peerMacAddr[1], peerMacAddr[2],
               peerMacAddr[3], peerMacAddr[4], peerMacAddr[5]);)
 
@@ -3766,7 +3766,7 @@
     }
     else
     {
-        limLog(pMac, LOGE, FL("Self entry missing in Hash Table \n"));
+        limLog(pMac, LOGE, FL("Self entry missing in Hash Table "));
      status = eSIR_FAILURE;
     }     
 #ifdef FEATURE_WLAN_CCX
@@ -3786,26 +3786,26 @@
     tpPESession psessionEntry;
     if((psessionEntry = peFindSessionBySessionId(pMac, pMac->lim.limTimers.gLimAddtsRspTimer.sessionId))== NULL) 
     {
-        limLog(pMac, LOGP,FL("Session Does not exist for given sessionID\n"));
+        limLog(pMac, LOGP,FL("Session Does not exist for given sessionID"));
         return;
     }
 
     if (  (psessionEntry->limSystemRole != eLIM_STA_ROLE) && (psessionEntry->limSystemRole != eLIM_BT_AMP_STA_ROLE)   )
     {
-        limLog(pMac, LOGW, "AddtsRspTimeout in non-Sta role (%d)\n", psessionEntry->limSystemRole);
+        limLog(pMac, LOGW, "AddtsRspTimeout in non-Sta role (%d)", psessionEntry->limSystemRole);
         pMac->lim.gLimAddtsSent = false;
         return;
     }
 
     if (! pMac->lim.gLimAddtsSent)
     {
-        PELOGW(limLog(pMac, LOGW, "AddtsRspTimeout but no AddtsSent\n");)
+        PELOGW(limLog(pMac, LOGW, "AddtsRspTimeout but no AddtsSent");)
         return;
     }
 
     if (param != pMac->lim.gLimAddtsRspTimerCount)
     {
-        limLog(pMac, LOGE, FL("Invalid AddtsRsp Timer count %d (exp %d)\n"),
+        limLog(pMac, LOGE, FL("Invalid AddtsRsp Timer count %d (exp %d)"),
                param, pMac->lim.gLimAddtsRspTimerCount);
         return;
     }
@@ -3842,7 +3842,7 @@
     
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
            return;
     }
     
@@ -3850,7 +3850,7 @@
     
     if((psessionEntry = peFindSessionByBssid(pMac,pStatsReq->bssId,&sessionId))== NULL)
     {
-        limLog(pMac, LOGE, FL("session does not exist for given bssId\n"));
+        limLog(pMac, LOGE, FL("session does not exist for given bssId"));
         palFreeMemory( pMac, pMsgBuf );
         return;
     }
@@ -3875,7 +3875,7 @@
             msgQ.type = WDA_STAT_SUMM_REQ;
             break;   
         default: //Unknown request.
-            PELOGE(limLog(pMac, LOGE, "Unknown Statistics request\n");)
+            PELOGE(limLog(pMac, LOGE, "Unknown Statistics request");)
             palFreeMemory( pMac, pMsgBuf );
             return;
     }
@@ -3902,7 +3902,7 @@
         MTRACE(macTraceMsgTx(pMac, psessionEntry->peSessionId, msgQ.type));
     }
     if( eSIR_SUCCESS != (wdaPostCtrlMsg( pMac, &msgQ ))){
-        limLog(pMac, LOGP, "Unable to forward request\n");
+        limLog(pMac, LOGP, "Unable to forward request");
         palFreeMemory( pMac, pMsgBuf );
         return;
     }
@@ -3952,7 +3952,7 @@
 
     if( eSIR_SUCCESS != (wdaPostCtrlMsg( pMac, &msgQ ))){
         palFreeMemory( pMac, pMsgBuf );
-        limLog(pMac, LOGP, "Unable to forward request\n");
+        limLog(pMac, LOGP, "Unable to forward request");
         return;
     }
 
@@ -3999,7 +3999,7 @@
 
     if( eSIR_SUCCESS != (wdaPostCtrlMsg( pMac, &msgQ ))){
         palFreeMemory( pMac, pMsgBuf );
-        limLog(pMac, LOGP, "Unable to forward request\n");
+        limLog(pMac, LOGP, "Unable to forward request");
         return;
     }
 
@@ -4016,29 +4016,29 @@
     tANI_U8                 sessionId;  //PE sessionID
 
     PELOG1(limLog(pMac, LOG1,
-           FL("received UPDATE_APWPSIEs_REQ message\n")););
+           FL("received UPDATE_APWPSIEs_REQ message")););
     
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
         return;
     }
 
     if( palAllocateMemory( pMac->hHdd, (void **)&pUpdateAPWPSIEsReq, sizeof(tSirUpdateAPWPSIEsReq)))
     {
-        limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pUpdateAPWPSIEsReq\n"));
+        limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pUpdateAPWPSIEsReq"));
         return;
     }
 
     if ((limUpdateAPWPSIEsReqSerDes(pMac, pUpdateAPWPSIEsReq, (tANI_U8 *) pMsgBuf) == eSIR_FAILURE))
     {
-        limLog(pMac, LOGW, FL("received invalid SME_SETCONTEXT_REQ message\n"));
+        limLog(pMac, LOGW, FL("received invalid SME_SETCONTEXT_REQ message"));
         goto end;
     }
 
     if((psessionEntry = peFindSessionByBssid(pMac, pUpdateAPWPSIEsReq->bssId, &sessionId)) == NULL)
     {
-        limLog(pMac, LOGW, FL("Session does not exist for given BSSID\n"));
+        limLog(pMac, LOGW, FL("Session does not exist for given BSSID"));
         goto end;
     }
 
@@ -4059,11 +4059,11 @@
     tpPESession             psessionEntry;
 
     PELOG1(limLog(pMac, LOG1,
-           FL("received HIDE_SSID message\n")););
+           FL("received HIDE_SSID message")););
     
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
         return;
     }
 
@@ -4071,7 +4071,7 @@
     
     if((psessionEntry = peFindSessionBySessionId(pMac, pUpdateParams->sessionId)) == NULL)
     {
-        limLog(pMac, LOGW, "Session does not exist for given sessionId %d\n",
+        limLog(pMac, LOGW, "Session does not exist for given sessionId %d",
                       pUpdateParams->sessionId);
         return;
     }
@@ -4095,25 +4095,25 @@
 
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
         return;
     }
     
     if( palAllocateMemory( pMac->hHdd, (void **)&pUpdateAPWPARSNIEsReq, sizeof(tSirUpdateAPWPSIEsReq)))
     {
-        limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pUpdateAPWPARSNIEsReq\n"));
+        limLog(pMac, LOGP, FL("call to palAllocateMemory failed for pUpdateAPWPARSNIEsReq"));
         return;
     }
 
     if ((limUpdateAPWPARSNIEsReqSerDes(pMac, pUpdateAPWPARSNIEsReq, (tANI_U8 *) pMsgBuf) == eSIR_FAILURE)) 
     {
-        limLog(pMac, LOGW, FL("received invalid SME_SETCONTEXT_REQ message\n")); 
+        limLog(pMac, LOGW, FL("received invalid SME_SETCONTEXT_REQ message"));
         goto end;
     }
     
     if((psessionEntry = peFindSessionByBssid(pMac, pUpdateAPWPARSNIEsReq->bssId, &sessionId)) == NULL)
     {
-        limLog(pMac, LOGW, FL("Session does not exist for given BSSID\n"));
+        limLog(pMac, LOGW, FL("Session does not exist for given BSSID"));
         goto end;
     }
 
@@ -4144,11 +4144,11 @@
     tUpdateBeaconParams beaconParams;
 
     PELOG1(limLog(pMac, LOG1,
-           FL("received Update Beacon Interval message\n")););
+           FL("received Update Beacon Interval message")););
     
     if(pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
         return;
     }
 
@@ -4156,7 +4156,7 @@
 
     if((psessionEntry = peFindSessionByBssid(pMac, pChangeBIParams->bssId, &sessionId)) == NULL)
     {
-        limLog(pMac, LOGE, FL("Session does not exist for given BSSID\n"));
+        limLog(pMac, LOGE, FL("Session does not exist for given BSSID"));
         return;
     }
 
@@ -4213,10 +4213,10 @@
 
     if ((psessionEntry = peFindSessionByBssid(pMac,pSmeDelBAPeerInd->bssId,&sessionId))==NULL)
     {
-        limLog(pMac, LOGE,FL("session does not exist for given bssId\n"));
+        limLog(pMac, LOGE,FL("session does not exist for given bssId"));
         return;
     }
-    limLog(pMac, LOGW, FL("called with staId = %d, tid = %d, baDirection = %d\n"), 
+    limLog(pMac, LOGW, FL("called with staId = %d, tid = %d, baDirection = %d"),
               pSmeDelBAPeerInd->staIdx, pSmeDelBAPeerInd->baTID, pSmeDelBAPeerInd->baDirection);
 
     pSta = dphLookupAssocId(pMac, pSmeDelBAPeerInd->staIdx, &assocId, &psessionEntry->dph.dphHashTable);    
@@ -4266,13 +4266,13 @@
 
          if(pMsg->bodyptr == NULL)
          {
-            limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+            limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
             return;
          }
          pBcnReport = (tpSirBeaconReportXmitInd )pMsg->bodyptr;
          if((psessionEntry = peFindSessionByBssid(pMac, pBcnReport->bssId,&sessionId))== NULL)
          {
-            limLog(pMac, LOGE, "Session Does not exist for given bssId\n");
+            limLog(pMac, LOGE, "Session Does not exist for given bssId");
             return;
          }
          if (psessionEntry->isCCXconnection)
@@ -4312,22 +4312,22 @@
 
    if( pSessionEntry == NULL )
    {
-      PELOGE(limLog(pMac, LOGE, "%s:%d: Inavalid parameters\n", __func__, __LINE__ );)
+      PELOGE(limLog(pMac, LOGE, "%s:%d: Inavalid parameters", __func__, __LINE__ );)
       return eSIR_FAILURE;
    }
    if( eHAL_STATUS_SUCCESS != palAllocateMemory( pMac->hHdd,
             (void **) &pMaxTxParams, sizeof(tMaxTxPowerParams) ) ) 
    {
-      limLog( pMac, LOGP, "%s:%d:Unable to allocate memory for pMaxTxParams \n", __func__, __LINE__);
+      limLog( pMac, LOGP, "%s:%d:Unable to allocate memory for pMaxTxParams ", __func__, __LINE__);
       return eSIR_MEM_ALLOC_FAILED;
 
    }
 #if defined(WLAN_VOWIFI_DEBUG) || defined(FEATURE_WLAN_CCX)
-   PELOG1(limLog( pMac, LOG1, "%s:%d: Allocated memory for pMaxTxParams...will be freed in other module\n", __func__, __LINE__ );)
+   PELOG1(limLog( pMac, LOG1, "%s:%d: Allocated memory for pMaxTxParams...will be freed in other module", __func__, __LINE__ );)
 #endif
    if( pMaxTxParams == NULL )
    {
-      limLog( pMac, LOGE, "%s:%d: pMaxTxParams is NULL\n", __func__, __LINE__);
+      limLog( pMac, LOGE, "%s:%d: pMaxTxParams is NULL", __func__, __LINE__);
       return eSIR_FAILURE;
    }
    pMaxTxParams->power = txPower;
@@ -4337,11 +4337,11 @@
     msgQ.type = WDA_SET_MAX_TX_POWER_REQ;
     msgQ.bodyptr = pMaxTxParams;
     msgQ.bodyval = 0;
-    PELOGW(limLog(pMac, LOG1, FL("Posting WDA_SET_MAX_TX_POWER_REQ to WDA\n"));)
+    PELOGW(limLog(pMac, LOG1, FL("Posting WDA_SET_MAX_TX_POWER_REQ to WDA"));)
     MTRACE(macTraceMsgTx(pMac, pSessionEntry->peSessionId, msgQ.type));
     if(eSIR_SUCCESS != (retCode = wdaPostCtrlMsg(pMac, &msgQ)))
     {
-       PELOGW(limLog(pMac, LOGW, FL("wdaPostCtrlMsg() failed\n"));)
+       PELOGW(limLog(pMac, LOGW, FL("wdaPostCtrlMsg() failed"));)
        if (NULL != pMaxTxParams)
        {
           palFreeMemory(pMac->hHdd, (tANI_U8*)pMaxTxParams);
@@ -4391,12 +4391,12 @@
    msg.bodyptr =  pAddStaSelfParams;
    msg.bodyval = 0;
 
-   PELOGW(limLog(pMac, LOG1, FL("sending SIR_HAL_ADD_STA_SELF_REQ msg to HAL\n"));)
+   PELOGW(limLog(pMac, LOG1, FL("sending SIR_HAL_ADD_STA_SELF_REQ msg to HAL"));)
       MTRACE(macTraceMsgTx(pMac, NO_SESSION, msg.type));
 
    if(eSIR_SUCCESS != wdaPostCtrlMsg(pMac, &msg))
    {
-      limLog(pMac, LOGP, FL("wdaPostCtrlMsg failed\n"));
+      limLog(pMac, LOGP, FL("wdaPostCtrlMsg failed"));
    }
    return;
 } /*** end __limProcessAddStaSelfReq() ***/
@@ -4441,12 +4441,12 @@
    msg.bodyptr =  pDelStaSelfParams;
    msg.bodyval = 0;
 
-   PELOGW(limLog(pMac, LOG1, FL("sending SIR_HAL_ADD_STA_SELF_REQ msg to HAL\n"));)
+   PELOGW(limLog(pMac, LOG1, FL("sending SIR_HAL_ADD_STA_SELF_REQ msg to HAL"));)
       MTRACE(macTraceMsgTx(pMac, NO_SESSION, msg.type));
 
    if(eSIR_SUCCESS != wdaPostCtrlMsg(pMac, &msg))
    {
-      limLog(pMac, LOGP, FL("wdaPostCtrlMsg failed\n"));
+      limLog(pMac, LOGP, FL("wdaPostCtrlMsg failed"));
    }
    return;
 } /*** end __limProcessSmeDelStaSelfReq() ***/
@@ -4477,7 +4477,7 @@
     tpLimMgmtFrameRegistration pLimMgmtRegistration = NULL, pNext = NULL;
     tANI_BOOLEAN match = VOS_FALSE;
     PELOG1(limLog(pMac, LOG1, 
-           FL("registerFrame %d, frameType %d, matchLen %d\n"), 
+           FL("registerFrame %d, frameType %d, matchLen %d"),
             pSmeReq->registerFrame, pSmeReq->frameType, pSmeReq->matchLen);)
 
     /* First check whether entry exists already*/
@@ -4560,7 +4560,7 @@
                   pMac->hHdd, (void **) &pMsgNoA, sizeof( tP2pPsConfig )))
     {
         limLog( pMac, LOGP,
-                     FL( "Unable to allocate memory during NoA Update\n" ));
+                     FL( "Unable to allocate memory during NoA Update" ));
         goto error;
     }
 
@@ -4586,7 +4586,7 @@
     {
         /// Could not activate Insert NOA timer.
         // Log error
-        limLog(pMac, LOGP, FL("could not activate Insert Single Shot NOA during scan timer\n"));
+        limLog(pMac, LOGP, FL("could not activate Insert Single Shot NOA during scan timer"));
 
         // send the scan response back with status failure and do not even call insert NOA
         limSendSmeScanRsp(pMac, sizeof(tSirSmeScanRsp), eSIR_SME_SCAN_FAILED, pMac->lim.gSmeSessionId, pMac->lim.gTransactionId);
@@ -4604,7 +4604,7 @@
     if(eSIR_SUCCESS != wdaPostCtrlMsg(pMac, &msg))
     {
         /* In this failure case, timer is already started, so its expiration will take care of sending scan response */
-        limLog(pMac, LOGP, FL("wdaPost Msg failed\n"));
+        limLog(pMac, LOGP, FL("wdaPost Msg failed"));
         /* Deactivate the NOA timer in failure case */
         limDeactivateAndChangeTimer(pMac, eLIM_INSERT_SINGLESHOT_NOA_TIMER);
         goto error;
@@ -4623,14 +4623,14 @@
 
 static void __limRegisterDeferredSmeReqForNOAStart(tpAniSirGlobal pMac, tANI_U16 msgType, tANI_U32 *pMsgBuf)
 {
-    limLog(pMac, LOG1, FL("Reg msgType %d\n"), msgType) ;
+    limLog(pMac, LOG1, FL("Reg msgType %d"), msgType) ;
     pMac->lim.gDeferMsgTypeForNOA = msgType;
     pMac->lim.gpDefdSmeMsgForNOA = pMsgBuf;
 }
 
 static void __limDeregisterDeferredSmeReqAfterNOAStart(tpAniSirGlobal pMac)
 {
-    limLog(pMac, LOG1, FL("Dereg msgType %d\n"), pMac->lim.gDeferMsgTypeForNOA) ;
+    limLog(pMac, LOG1, FL("Dereg msgType %d"), pMac->lim.gDeferMsgTypeForNOA) ;
     pMac->lim.gDeferMsgTypeForNOA = 0;
     if (pMac->lim.gpDefdSmeMsgForNOA != NULL)
     {
@@ -4658,7 +4658,7 @@
                  * Could not get max channel value
                  * from CFG. Log error.
                  */
-                limLog(pMac, LOGP, FL("could not retrieve passive max channel value\n"));
+                limLog(pMac, LOGP, FL("could not retrieve passive max channel value"));
 
                 /* use a default value of 110ms */
                 val = DEFAULT_PASSIVE_MAX_CHANNEL_TIME;
@@ -4705,7 +4705,7 @@
             break;
 
     }
-    limLog(pMac, LOGW, FL("msgType %d noa %d\n"), msgType, noaDuration);
+    limLog(pMac, LOGW, FL("msgType %d noa %d"), msgType, noaDuration);
     return noaDuration;
 }
 
@@ -4713,7 +4713,7 @@
 {
     tANI_BOOLEAN bufConsumed = TRUE;
 
-    limLog(pMac, LOG1, FL("Process defd sme req %d\n"), pMac->lim.gDeferMsgTypeForNOA);
+    limLog(pMac, LOG1, FL("Process defd sme req %d"), pMac->lim.gDeferMsgTypeForNOA);
     if ( (pMac->lim.gDeferMsgTypeForNOA != 0) &&
          (pMac->lim.gpDefdSmeMsgForNOA != NULL) )
     {
@@ -4739,7 +4739,7 @@
                 __limProcessSmeJoinReq(pMac, pMac->lim.gpDefdSmeMsgForNOA);
                 break;
             default:
-                limLog(pMac, LOGE, FL("Unknown deferred msg type %d\n"), pMac->lim.gDeferMsgTypeForNOA);
+                limLog(pMac, LOGE, FL("Unknown deferred msg type %d"), pMac->lim.gDeferMsgTypeForNOA);
                 break;
         }
         __limDeregisterDeferredSmeReqAfterNOAStart(pMac);
@@ -4747,7 +4747,7 @@
     else
     {
         limLog( pMac, LOGW, FL("start received from FW when no sme deferred msg pending. Do nothing."
-            "It might happen sometime when NOA start ind and timeout happen at the same time\n"));
+            "It might happen sometime when NOA start ind and timeout happen at the same time"));
     }
 }
 
@@ -4764,13 +4764,13 @@
     tANI_U8      sessionId;
 
     VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO,
-                                  ("Discovery Req Recieved\n")) ;
+                                  ("Discovery Req Recieved")) ;
 
     if((psessionEntry = peFindSessionByBssid(pMac, disReq->bssid, &sessionId)) 
                                                                         == NULL)
     {
          VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_ERROR, 
-                    "PE Session does not exist for given sme sessionId %d\n", 
+                    "PE Session does not exist for given sme sessionId %d",
                                                             disReq->sessionId);
          goto lim_tdls_dis_start_error;
     }
@@ -4779,7 +4779,7 @@
     if (psessionEntry->limSystemRole != eLIM_STA_ROLE)
     {
         VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_ERROR, 
-                         "dis req received in wrong system Role %d\n", 
+                         "dis req received in wrong system Role %d",
                                              psessionEntry->limSystemRole);
         goto lim_tdls_dis_start_error;
     }
@@ -4793,7 +4793,7 @@
      {
      
          limLog(pMac, LOGE, "dis req received in invalid LIMsme \
-                               state (%d)\n", psessionEntry->limSmeState);
+                               state (%d)", psessionEntry->limSmeState);
          goto lim_tdls_dis_start_error;
      }
     
@@ -4816,7 +4816,7 @@
                            (tANI_U8 *) disReq, sizeof(tSirTdlsDisReq));
 
      VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO,
-                             "Transmit Discovery Request Frame\n") ;
+                             "Transmit Discovery Request Frame") ;
      /* format TDLS discovery request frame and transmit it */
      limSendTdlsDisReqFrame(pMac, disReq->peerMac, disReq->dialog, 
                                                        psessionEntry) ;
@@ -4831,7 +4831,7 @@
      */
 
     VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO,
-                                ("Start Discovery request Timeout Timer\n")) ;
+                                ("Start Discovery request Timeout Timer")) ;
     MTRACE(macTrace(pMac, TRACE_CODE_TIMER_ACTIVATE, 0, 
                                              eLIM_TDLS_DISCOVERY_RSP_WAIT));
 
@@ -4843,7 +4843,7 @@
                                                                != TX_SUCCESS)
     {
         limLog(pMac, LOGP, FL("TDLS discovery response timer \
-                                                  activation failed!\n"));
+                                                  activation failed!"));
         goto lim_tdls_dis_start_error;
     }
     /* 
@@ -4874,7 +4874,7 @@
                                     setupReq->bssid, &sessionId)) == NULL)
     {
          VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_ERROR, 
-                     "PE Session does not exist for given sme sessionId %d\n", 
+                     "PE Session does not exist for given sme sessionId %d",
                                                           setupReq->sessionId);
          goto lim_tdls_link_start_error;
     }
@@ -4883,7 +4883,7 @@
     if (psessionEntry->limSystemRole != eLIM_STA_ROLE)
     {
         VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_ERROR, 
-                      "TDLS link setup req received in wrong system Role %d\n",
+                      "TDLS link setup req received in wrong system Role %d",
                                                 psessionEntry->limSystemRole);
         goto lim_tdls_link_start_error;
     }
@@ -4896,7 +4896,7 @@
             (psessionEntry->limSmeState != eLIM_SME_LINK_EST_STATE))
     {
         limLog(pMac, LOGE, "Setup request in invalid LIMsme \
-                              state (%d)\n", pMac->lim.gLimSmeState);
+                              state (%d)", pMac->lim.gLimSmeState);
         goto lim_tdls_link_start_error;
     }
     
@@ -4925,7 +4925,7 @@
                   (void **) &setupPeer, sizeof( tLimTdlsLinkSetupPeer )))
     {
      limLog( pMac, LOGP, 
-                  FL( "Unable to allocate memory during ADD_STA\n" ));
+                  FL( "Unable to allocate memory during ADD_STA" ));
      VOS_ASSERT(0) ;
      return eSIR_MEM_ALLOC_FAILED;
     }
@@ -4978,7 +4978,7 @@
     if((psessionEntry = peFindSessionByBssid(pMac, teardownReq->bssid, &sessionId)) == NULL)
     {
          VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_ERROR, 
-                        "PE Session does not exist for given sme sessionId %d\n", teardownReq->sessionId);
+                        "PE Session does not exist for given sme sessionId %d", teardownReq->sessionId);
          goto lim_tdls_teardown_req_error;
     }
     
@@ -4986,7 +4986,7 @@
     if (psessionEntry->limSystemRole != eLIM_STA_ROLE)
     {
         VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_ERROR, 
-                          "TDLS teardown req received in wrong system Role %d\n", psessionEntry->limSystemRole);
+                          "TDLS teardown req received in wrong system Role %d", psessionEntry->limSystemRole);
         goto lim_tdls_teardown_req_error;
     }
 
@@ -4998,12 +4998,12 @@
             (psessionEntry->limSmeState != eLIM_SME_LINK_EST_STATE))
     {
         limLog(pMac, LOGE, "TDLS teardwon req received in invalid LIMsme \
-                               state (%d)\n", psessionEntry->limSmeState);
+                               state (%d)", psessionEntry->limSmeState);
         goto lim_tdls_teardown_req_error;
     }
     
     VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO,
-            "Teardown for peer = %02x,%02x,%02x,%02x,%02x,%02x\n",
+            "Teardown for peer = %02x,%02x,%02x,%02x,%02x,%02x",
                                              teardownReq->peerMac[0],
                                              teardownReq->peerMac[1],
                                              teardownReq->peerMac[2],
@@ -5020,7 +5020,7 @@
     if(NULL == setupPeer)
     {
         VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO,
-                                ("invalid Peer on teardown \n")) ;
+                                ("invalid Peer on teardown ")) ;
         goto lim_tdls_teardown_req_error;
     }
 
@@ -5030,7 +5030,7 @@
     /* TDLS_sessionize: check sessionId in case */
     if((setupPeer)->tdls_sessionId != psessionEntry->peSessionId) 
     {
-        limLog(pMac, LOGE, "TDLS teardown req; stored sessionId (%d) not matched from peSessionId (%d)\n", \
+        limLog(pMac, LOGE, "TDLS teardown req; stored sessionId (%d) not matched from peSessionId (%d)", \
             (setupPeer)->tdls_sessionId, psessionEntry->limSmeState);
         (setupPeer)->tdls_sessionId = psessionEntry->peSessionId;
     }
@@ -5040,7 +5040,7 @@
                                 eSIR_MAC_TDLS_TEARDOWN_UNSPEC_REASON, psessionEntry, NULL, 0 ))
     {
         VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_INFO,
-                                ("couldn't send teardown frame \n")) ;
+                                ("couldn't send teardown frame ")) ;
         goto lim_tdls_teardown_req_error;
     }
     /* in case of success, eWNI_SME_TDLS_TEARDOWN_RSP is sent back to SME later when 
@@ -5064,7 +5064,7 @@
     tANI_U8  sessionId = 0;
     if (pMsgBuf == NULL)
     {
-        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL\n"));
+        limLog(pMac, LOGE,FL("Buffer is Pointing to NULL"));
         return;
     }
 
@@ -5072,7 +5072,7 @@
     psessionEntry = peFindSessionByBssid(pMac, pResetCapsChange->bssId, &sessionId);
     if (psessionEntry == NULL)
     {
-        limLog(pMac, LOGE, FL("Session does not exist for given BSSID\n"));
+        limLog(pMac, LOGE, FL("Session does not exist for given BSSID"));
         return;
     }
 
@@ -5107,7 +5107,7 @@
     tANI_BOOLEAN bufConsumed = TRUE; //Set this flag to false within case block of any following message, that doesnt want pMsgBuf to be freed.
     tANI_U32 *pMsgBuf = pMsg->bodyptr;
 
-    PELOG1(limLog(pMac, LOG1, FL("LIM Received SME Message %s(%d) Global LimSmeState:%s(%d) Global LimMlmState: %s(%d)\n"),
+    PELOG1(limLog(pMac, LOG1, FL("LIM Received SME Message %s(%d) Global LimSmeState:%s(%d) Global LimMlmState: %s(%d)"),
          limMsgStr(pMsg->type), pMsg->type,
          limSmeStateStr(pMac->lim.gLimSmeState), pMac->lim.gLimSmeState,
          limMlmStateStr(pMac->lim.gLimMlmState), pMac->lim.gLimMlmState );)
@@ -5218,24 +5218,24 @@
         case eWNI_SME_ASSOC_CNF:
         case eWNI_SME_REASSOC_CNF:
             if (pMsg->type == eWNI_SME_ASSOC_CNF)
-                PELOG1(limLog(pMac, LOG1, FL("Received ASSOC_CNF message\n"));)
+                PELOG1(limLog(pMac, LOG1, FL("Received ASSOC_CNF message"));)
             else
-                PELOG1(limLog(pMac, LOG1, FL("Received REASSOC_CNF message\n"));)
+                PELOG1(limLog(pMac, LOG1, FL("Received REASSOC_CNF message"));)
             __limProcessSmeAssocCnfNew(pMac, pMsg->type, pMsgBuf);
             break;
 
         case eWNI_SME_ADDTS_REQ:
-            PELOG1(limLog(pMac, LOG1, FL("Received ADDTS_REQ message\n"));)
+            PELOG1(limLog(pMac, LOG1, FL("Received ADDTS_REQ message"));)
             __limProcessSmeAddtsReq(pMac, pMsgBuf);
             break;
 
         case eWNI_SME_DELTS_REQ:
-            PELOG1(limLog(pMac, LOG1, FL("Received DELTS_REQ message\n"));)
+            PELOG1(limLog(pMac, LOG1, FL("Received DELTS_REQ message"));)
             __limProcessSmeDeltsReq(pMac, pMsgBuf);
             break;
 
         case SIR_LIM_ADDTS_RSP_TIMEOUT:
-            PELOG1(limLog(pMac, LOG1, FL("Received SIR_LIM_ADDTS_RSP_TIMEOUT message \n"));)
+            PELOG1(limLog(pMac, LOG1, FL("Received SIR_LIM_ADDTS_RSP_TIMEOUT message "));)
             limProcessSmeAddtsRspTimeout(pMac, pMsg->bodyval);
             break;