Fixed issue where default ESP_xxxxxx SSID was appearing for enduser_setup

This commit is contained in:
jfollas 2016-01-27 10:24:10 -05:00
parent fc87316b14
commit edbcbe1b0f
1 changed files with 1 additions and 1 deletions

View File

@ -665,8 +665,8 @@ static void enduser_setup_ap_start(void)
cnf.ssid_hidden = 0;
cnf.max_connection = 5;
cnf.beacon_interval = 100;
wifi_set_opmode(SOFTAP_MODE | wifi_get_opmode()); // Changed behavior: Need to be in AP mode before AP config will save
wifi_softap_set_config(&cnf);
wifi_set_opmode(SOFTAP_MODE | wifi_get_opmode());
}