wlan: Process ADDBA req when in scan state and valid pe_session exists
ADDBA request is received from AP when scan is in progress.
This will result in limProcessActionFrameNoSession getting
invoked for processing the action frame even when valid
pe_session exists.
Fix is to invoke limProcessActionFrame function when in scan
state and valid pe_session exists.
Change-Id: Id44b2a7254fbb21101800e4a02375afa4f3016ae
CRs-Fixed: 2273433
diff --git a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
index f6aeed9..6c8e41b 100644
--- a/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
+++ b/CORE/MAC/src/pe/lim/limProcessMessageQueue.c
@@ -341,7 +341,10 @@
}
else if ((fc.type == SIR_MAC_MGMT_FRAME) && (fc.subType == SIR_MAC_MGMT_ACTION))
{
- limProcessActionFrameNoSession( pMac, pRxPacketInfo);
+ if (psessionEntry != NULL)
+ limProcessActionFrame(pMac, pRxPacketInfo, psessionEntry);
+ else
+ limProcessActionFrameNoSession(pMac, pRxPacketInfo);
}
else
{