diff --git a/core/sap/src/sap_fsm.c b/core/sap/src/sap_fsm.c index 57ac63943723..f7549900fd3f 100644 --- a/core/sap/src/sap_fsm.c +++ b/core/sap/src/sap_fsm.c @@ -2288,6 +2288,10 @@ static QDF_STATUS sap_goto_starting(struct sap_context *sap_ctx, eSAP_CHANNEL_CHANGE_EVENT, (void *)eSAP_STATUS_SUCCESS); sap_dfs_set_current_channel(sap_ctx); + /* Reset radar found flag before start sap, the flag will + * be set when radar found in CAC wait. + */ + mac_ctx->sap.SapDfsInfo.sap_radar_found_status = false; sap_debug("session: %d", sap_ctx->sessionId); @@ -2652,6 +2656,7 @@ static QDF_STATUS sap_fsm_state_starting(struct sap_context *sap_ctx, mac_handle); } else { sap_debug("skip cac timer"); + mac_ctx->sap.SapDfsInfo.sap_radar_found_status = false; /* * If hostapd starts AP on dfs channel, * hostapd will wait for CAC START/CAC END