From bcde651df7d8d0a6445f51ba57d89e4bf3a14081 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 8943e4028f..e8ca45a83e 100644 --- a/components/esp_wifi/include/esp_wifi.h +++ b/components/esp_wifi/include/esp_wifi.h @@ -503,6 +503,7 @@ esp_err_t esp_wifi_scan_start(const wifi_scan_config_t *config, bool block); * - 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 06355da5be..cd70db217c 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 06355da5be628ba533d4d363135d5ca39e0671f3 +Subproject commit cd70db217cad3468d0a8e45ea87363eb99f0c087