Skip to content

Commit ce3611d

Browse files
fix(wifi): add check for esp_wifi_set_config
1 parent 5b7922b commit ce3611d

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)