From 04f68ec53443df1e9d45c2229478a2448064102a Mon Sep 17 00:00:00 2001 From: Shreyas Sheth Date: Sat, 26 Apr 2025 15:59:23 +0530 Subject: [PATCH] fix(esp_wifi): Fix locking in incorrect state when stop_scan is called after connect --- components/esp_wifi/include/esp_wifi.h | 1 + components/esp_wifi/lib | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/esp_wifi/include/esp_wifi.h b/components/esp_wifi/include/esp_wifi.h index e1120510a9..1b6d2f33f3 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -564,6 +564,7 @@ esp_err_t esp_wifi_get_scan_parameters(wifi_scan_default_params_t *config); * - ESP_OK: succeed * - 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_STATE: WiFi is still connecting when esp_wifi_scan_stop() is invoked. */ esp_err_t esp_wifi_scan_stop(void); diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 18b5d5b3b2..a4be6e36da 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 18b5d5b3b2b6481549db30e9a36b1aac790c5991 +Subproject commit a4be6e36da397bed9452ab1d7291f7c73a0d716e