Commit 5ec2b695 authored by Johny Mattsson's avatar Johny Mattsson
Browse files

Merge pull request #981 from jfollas/dev

Fixed issue where default ESP_xxxxxx SSID was appearing
parents c3e49940 edbcbe1b
...@@ -665,8 +665,8 @@ static void enduser_setup_ap_start(void) ...@@ -665,8 +665,8 @@ static void enduser_setup_ap_start(void)
cnf.ssid_hidden = 0; cnf.ssid_hidden = 0;
cnf.max_connection = 5; cnf.max_connection = 5;
cnf.beacon_interval = 100; 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_softap_set_config(&cnf);
wifi_set_opmode(SOFTAP_MODE | wifi_get_opmode());
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment