Skip to content

Commit c4aaceb

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'bugfix/scan_stop_when_conenct' into 'master'
fix(esp_wifi): Fix locking in inccorrect state when stop_scan is called after connect See merge request espressif/esp-idf!38779
2 parents 7f6e7f4 + 0103155 commit c4aaceb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

components/esp_wifi/include/esp_wifi.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ esp_err_t esp_wifi_get_scan_parameters(wifi_scan_default_params_t *config);
572572
* - ESP_OK: succeed
573573
* - ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init
574574
* - ESP_ERR_WIFI_NOT_STARTED: WiFi is not started by esp_wifi_start
575+
* - ESP_ERR_WIFI_STATE: WiFi is still connecting when esp_wifi_scan_stop() is invoked.
575576
*/
576577
esp_err_t esp_wifi_scan_stop(void);
577578

0 commit comments

Comments
 (0)