Merge branch 'feature/set_the_connection_to_the_open_router_mechanism_when_pwd_is_set' into 'master'

feat(lib): set the connection to the open router mechanism when pwd is set

See merge request sdk/ESP8266_RTOS_SDK!1174
This commit is contained in:
Dong Heng
2019-11-12 16:19:23 +08:00
5 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -1,5 +1,5 @@
gwen:
core: 743c778
core: 158ee68
net80211: 72ecd98
pp: 5b48c0d
wpa: 743c778

Binary file not shown.

Binary file not shown.

View File

@ -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);