static VOID P2pPeerProvisionRspAction( IN PRTMP_ADAPTER pAd, IN MLME_QUEUE_ELEM *Elem) { P2P_GO_FORM_STATE *pCurrState = &(pAd->P2pCfg.GoFormCurrentState); P2pReceProvisionRspAction(pAd, Elem); MlmeEnqueue(pAd, P2P_DISC_STATE_MACHINE, P2P_DISC_CANL_CMD_EVT, 0, NULL, 0); *pCurrState = P2P_GO_FORM_IDLE; }
VOID P2pPeerProvisionRspAction( IN PRTMP_ADAPTER pAd, IN MLME_QUEUE_ELEM *Elem) { P2P_GO_FORM_STATE *pCurrState = &(pAd->P2pCfg.GoFormCurrentState); if (pAd->P2pCfg.GoFormCurrentState != P2P_WAIT_GO_FORM_PROV_RSP && pAd->P2pCfg.GoFormCurrentState != P2P_GO_FORM_IDLE) return; P2pReceProvisionRspAction(pAd, Elem); MlmeEnqueue(pAd, P2P_DISC_STATE_MACHINE, P2P_DISC_CANL_CMD_EVT, 0, NULL, 0); /* DO NOT skip auto scan conn in STAMlmePeriodicExec */ pAd->StaCfg.bSkipAutoScanConn = FALSE; *pCurrState = P2P_GO_FORM_IDLE; }