From edbcbe1b0ff7dc8bc0dc5b230a101351480b337c Mon Sep 17 00:00:00 2001 From: jfollas Date: Wed, 27 Jan 2016 10:24:10 -0500 Subject: [PATCH] Fixed issue where default ESP_xxxxxx SSID was appearing for enduser_setup --- app/modules/enduser_setup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/enduser_setup.c b/app/modules/enduser_setup.c index 84a84009..5a40bc3b 100644 --- a/app/modules/enduser_setup.c +++ b/app/modules/enduser_setup.c @@ -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()); }