diff --git a/esp-link/cgiwifi.c b/esp-link/cgiwifi.c index 0fcbf71..1af0051 100644 --- a/esp-link/cgiwifi.c +++ b/esp-link/cgiwifi.c @@ -113,7 +113,7 @@ wifiAddStateChangeCb(WifiStateChangeCb cb) { DBG("WIFI: max state change cb count exceeded\n"); } -static bool mdns_started = false; +static bool mdns_started = true; static struct mdns_info mdns_info; // cannot allocate the info struct on the stack, it crashes! diff --git a/html/wifi/wifi.js b/html/wifi/wifi.js index 1718784..c33960d 100644 --- a/html/wifi/wifi.js +++ b/html/wifi/wifi.js @@ -184,7 +184,7 @@ function changeSpecial(e) { addClass(cb, 'pure-button-disabled'); ajaxSpin("POST", url, function(resp) { removeClass(cb, 'pure-button-disabled'); - getWifiInfo(); + //getWifiInfo(); // it takes 1 second for new settings to be applied }, function(s, st) { showWarning("Error: "+st); removeClass(cb, 'pure-button-disabled');