wlan: Convert PELOG1 to limlog and handle the compilation errors.
Convert useful logs which are PELOG1 to limlog (VOS TRACE) and
also few changes for compilation error.
Change-Id: I6a141deec7dbe364efbe0ef945ea8f9b5c73d4c4
CRs-fixed: 771131
diff --git a/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c b/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
index f0ad865..03b04dd 100644
--- a/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessDeauthFrame.c
@@ -264,8 +264,8 @@
MAC_ADDR_ARRAY(pHdr->sa));)
if (limSearchPreAuthList(pMac, pHdr->sa))
{
- PELOG1(limLog(pMac, LOG1, FL("Preauth entry exist. "
- "Deleting... "));)
+ limLog(pMac, LOG1, FL("Preauth entry exist. "
+ "Deleting... "));
limDeletePreAuthNode(pMac, pHdr->sa);
}
return;
@@ -289,11 +289,11 @@
*/
// Log error
- PELOG1(limLog(pMac, LOG1,
+ limLog(pMac, LOG1,
FL("received Deauth frame state %d with failure "
"code %d from "MAC_ADDRESS_STR),
psessionEntry->limMlmState, reasonCode,
- MAC_ADDR_ARRAY(pHdr->sa));)
+ MAC_ADDR_ARRAY(pHdr->sa));
limRestoreFromAuthState(pMac, eSIR_SME_DEAUTH_WHILE_JOIN,
reasonCode,psessionEntry);