[WCNCR00153560] softap: fix dfs test mode bug
[Description]
Fix dfs test mode bug
Change-Id: Ib2148dce3dc5d0fbbd243dad319fe5b2f92ac622
Signed-off-by: Chun Lee <chun.lee@mediatek.com>
CR-Id: WCNCR00153560
Feature: softap
diff --git a/mgmt/p2p_role_fsm.c b/mgmt/p2p_role_fsm.c
index ff21987..70b65b4 100644
--- a/mgmt/p2p_role_fsm.c
+++ b/mgmt/p2p_role_fsm.c
@@ -1255,12 +1255,11 @@
p2pRoleFsmStateTransition(prAdapter, prP2pRoleFsmInfo, P2P_ROLE_STATE_IDLE);
kalP2PRddDetectUpdate(prAdapter->prGlueInfo, prP2pRoleFsmInfo->ucRoleIndex);
+ cnmTimerStartTimer(prAdapter, &(prP2pRoleFsmInfo->rDfsShutDownTimer), 5000);
}
p2pFuncShowRadarInfo(prAdapter, prMsgP2pRddDetMsg->ucBssIndex);
- cnmTimerStartTimer(prAdapter, &(prP2pRoleFsmInfo->rDfsShutDownTimer), 5000);
-
} while (FALSE);
if (prMsgHdr)
cnmMemFree(prAdapter, prMsgHdr);