static VOID P2pPeerInvitesReqAction( IN PRTMP_ADAPTER pAd, IN MLME_QUEUE_ELEM *Elem) { P2P_GO_FORM_STATE *pCurrState = &(pAd->P2pCfg.GoFormCurrentState); P2pReceInviteReqAction(pAd, Elem); *pCurrState = P2P_GO_FORM_IDLE; }
VOID P2pPeerInvitesReqAction( IN PRTMP_ADAPTER pAd, IN MLME_QUEUE_ELEM *Elem) { P2P_GO_FORM_STATE *pCurrState = &(pAd->P2pCfg.GoFormCurrentState); if (pAd->P2pCfg.GoFormCurrentState != P2P_GO_FORM_IDLE ) return; /* Skip auto scan conn in STAMlmePeriodicExec */ pAd->StaCfg.bSkipAutoScanConn = TRUE; P2pReceInviteReqAction(pAd, Elem); *pCurrState = P2P_GO_FORM_IDLE; }