wlan: include wesmode support again
Customer has requested to include wesmode support
again.
Remove WESMODE check for REASSOC command
Change-Id: I8f4d9b1c755db2ec510bc9574330cebe57b0cbf6
CRs-Fixed: 565048
diff --git a/CORE/MAC/src/pe/lim/limProcessActionFrame.c b/CORE/MAC/src/pe/lim/limProcessActionFrame.c
index 23e3f46..d8b867a 100644
--- a/CORE/MAC/src/pe/lim/limProcessActionFrame.c
+++ b/CORE/MAC/src/pe/lim/limProcessActionFrame.c
@@ -2119,7 +2119,8 @@
if ((eLIM_STA_ROLE == psessionEntry->limSystemRole) &&
(VOS_TRUE == vos_mem_compare(psessionEntry->selfMacAddr,
&pHdr->da[0], sizeof(tSirMacAddr))) &&
- vos_mem_compare(pVendorSpecific->Oui, Oui, 3))
+ IS_WES_MODE_ENABLED(pMac) &&
+ vos_mem_compare(pVendorSpecific->Oui, Oui, 3))
{
PELOGE( limLog( pMac, LOGW, FL("Received Vendor specific action frame, OUI %x %x %x"),
pVendorSpecific->Oui[0], pVendorSpecific->Oui[1], pVendorSpecific->Oui[2]);)
@@ -2132,8 +2133,9 @@
else
{
limLog( pMac, LOGE, FL("Dropping the vendor specific action frame because of( "
- "OUI mismatch (%02x %02x %02x) or "
+ "WES Mode not enabled (WESMODE = %d) or OUI mismatch (%02x %02x %02x) or "
"not received with SelfSta Mac address) system role = %d"),
+ IS_WES_MODE_ENABLED(pMac),
pVendorSpecific->Oui[0], pVendorSpecific->Oui[1],
pVendorSpecific->Oui[2],
psessionEntry->limSystemRole );