Skip to content

Commit 39a44b4

Browse files
author
Jiang Jiang Jian
committed
Merge branch 'fix/add_check_for_wifi_set_config' into 'master'
fix(wifi): add check for esp_wifi_set_config See merge request espressif/esp-idf!39683
2 parents f1dd6da + ce3611d commit 39a44b4

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
@@ -999,6 +999,7 @@ esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter
999999
* - ESP_ERR_WIFI_MODE: invalid mode
10001000
* - ESP_ERR_WIFI_PASSWORD: invalid password
10011001
* - ESP_ERR_WIFI_NVS: WiFi internal NVS error
1002+
* - ESP_ERR_WIFI_STATE: WiFi still connecting when invoke esp_wifi_set_config
10021003
* - others: refer to the error code in esp_err.h
10031004
*/
10041005
esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);

0 commit comments

Comments
 (0)