|
@@ -2731,6 +2731,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);
|
|
|
|
|
@@ -3093,6 +3097,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
|