From 5fb9c3a849500158ac9eed36fc1ef1fc6c6948d4 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 b8a058d769..5745fc772c 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 71d2efa5e9..a84db720aa 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 71d2efa5e95ef6f192cbaf789fd9f049d7f10781 +Subproject commit a84db720aaf543d5846369071a13af881fa30002