diff --git a/components/esp8266/Kconfig b/components/esp8266/Kconfig index 7cb28eee..8fdd15d9 100644 --- a/components/esp8266/Kconfig +++ b/components/esp8266/Kconfig @@ -419,6 +419,13 @@ config ESP8266_WIFI_NVS_ENABLED help Select this option to enable WiFi NVS flash +config ESP8266_WIFI_CONNECT_OPEN_ROUTER_WHEN_PWD_IS_SET + bool "Connent open router when wifi password is set" + default y + help + When this option is enabled, ESP8266 will connect to open router even if wifi password is set, otherwise + ESP8266 will not connect to open router when wifi password is set. + config ESP8266_WIFI_DEBUG_LOG_ENABLE bool "Enable WiFi debug log" default n diff --git a/components/esp8266/lib/VERSION b/components/esp8266/lib/VERSION index 8875e570..0af06037 100644 --- a/components/esp8266/lib/VERSION +++ b/components/esp8266/lib/VERSION @@ -1,5 +1,5 @@ gwen: - core: 743c778 + core: 158ee68 net80211: 72ecd98 pp: 5b48c0d wpa: 743c778 diff --git a/components/esp8266/lib/libcore.a b/components/esp8266/lib/libcore.a index f7282855..96af2578 100644 Binary files a/components/esp8266/lib/libcore.a and b/components/esp8266/lib/libcore.a differ diff --git a/components/esp8266/lib/libcore_dbg.a b/components/esp8266/lib/libcore_dbg.a index ce9966d4..3be2a732 100644 Binary files a/components/esp8266/lib/libcore_dbg.a and b/components/esp8266/lib/libcore_dbg.a differ diff --git a/components/esp8266/source/esp_wifi.c b/components/esp8266/source/esp_wifi.c index 810bc168..03787876 100644 --- a/components/esp8266/source/esp_wifi.c +++ b/components/esp8266/source/esp_wifi.c @@ -20,6 +20,7 @@ #include "phy.h" const size_t _g_esp_wifi_ppt_task_stk_size = CONFIG_WIFI_PPT_TASKSTACK_SIZE; +const bool _g_esp_wifi_connect_open_router_when_pwd_is_set = CONFIG_ESP8266_WIFI_CONNECT_OPEN_ROUTER_WHEN_PWD_IS_SET; esp_err_t esp_wifi_init_internal(const wifi_init_config_t *config);