fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect

This commit is contained in:
Shreyas Sheth
2025-04-26 15:59:23 +05:30
committed by Jack
parent 4f56bba225
commit 692f7df5aa
2 changed files with 2 additions and 1 deletions

View File

@@ -572,6 +572,7 @@ esp_err_t esp_wifi_get_scan_parameters(wifi_scan_default_params_t *config);
* - ESP_OK: succeed * - ESP_OK: succeed
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init * - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start * - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
* - ESP_ERR_WIFI_STATE: WiFi is still connecting when esp_wifi_scan_stop() is invoked.
*/ */
esp_err_t esp_wifi_scan_stop(void); esp_err_t esp_wifi_scan_stop(void);