wlan: Fix for receiving action frame on virtual interface

Reverted CL 647916 since with this feature we are not able to register
action frame for dynamic interface. So for all interfaces we commonly
register action frame. When we received action frame then we will select
pAdapter based on destination address of the frame.

Change-Id: I72e81d58b1d7a938a4e5d10c8e5ac64f4801ccc6
CR-Fixed: 410696
diff --git a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
index 63e690b..233184e 100644
--- a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
+++ b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
@@ -4738,22 +4738,15 @@
                     if (palEqualMemory(pMac, pLimMgmtRegistration->matchData, 
                                 pSmeReq->matchData, pLimMgmtRegistration->matchLen))
                     {
-                        if(pSmeReq->selfMacAddr)
-                        {
-                            if(palEqualMemory(pMac, pLimMgmtRegistration->selfMacAddr,
-                                           pSmeReq->selfMacAddr, VOS_MAC_ADDR_SIZE))
-                            {
-                                /* found match! */   
-                                match = VOS_TRUE;
-                                break;
-                            }
-                        }    
+                        /* found match! */
+                        match = VOS_TRUE;
+                        break;
                     }
                 }
             }
             else
             {
-                /* found match! */   
+                /* found match! */
                 match = VOS_TRUE;
                 break;
             }
@@ -4781,21 +4774,16 @@
                         sizeof(tLimMgmtFrameRegistration) + pSmeReq->matchLen);
         if(pLimMgmtRegistration != NULL)
         {
-            palZeroMemory(pMac, (void*)pLimMgmtRegistration, 
+            palZeroMemory(pMac, (void*)pLimMgmtRegistration,
               sizeof(tLimMgmtFrameRegistration) + pSmeReq->matchLen );
             pLimMgmtRegistration->frameType = pSmeReq->frameType;
             pLimMgmtRegistration->matchLen  = pSmeReq->matchLen;
             pLimMgmtRegistration->sessionId = pSmeReq->sessionId;
             if(pSmeReq->matchLen)
             {
-                palCopyMemory(pMac,pLimMgmtRegistration->matchData, 
+                palCopyMemory(pMac,pLimMgmtRegistration->matchData,
                               pSmeReq->matchData, pSmeReq->matchLen);
             }
-            if(pSmeReq->selfMacAddr)
-            {
-                palCopyMemory( pMac, pLimMgmtRegistration->selfMacAddr, 
-                       pSmeReq->selfMacAddr, VOS_MAC_ADDR_SIZE);
-            } 
             vos_list_insert_front(&pMac->lim.gLimMgmtFrameRegistratinQueue,
                               &pLimMgmtRegistration->node);
         }