Skip to content

Commit 2aa2ed1

Browse files
author
wangtao@espressif.com
committed
fix(wifi): add check for esp_wifi_set_config
1 parent c5e3208 commit 2aa2ed1

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
@@ -989,6 +989,7 @@ esp_err_t esp_wifi_get_promiscuous_ctrl_filter(wifi_promiscuous_filter_t *filter
989989
* - ESP_ERR_WIFI_MODE: invalid mode
990990
* - ESP_ERR_WIFI_PASSWORD: invalid password
991991
* - ESP_ERR_WIFI_NVS: WiFi internal NVS error
992+
* - ESP_ERR_WIFI_STATE: WiFi still connecting when invoke esp_wifi_set_config
992993
* - others: refer to the error code in esp_err.h
993994
*/
994995
esp_err_t esp_wifi_set_config(wifi_interface_t interface, wifi_config_t *conf);

0 commit comments

Comments
 (0)