diff --git a/src/Wlan.cpp b/src/Wlan.cpp index 385f1d1f..a91a12a7 100644 --- a/src/Wlan.cpp +++ b/src/Wlan.cpp @@ -271,12 +271,12 @@ void Wlan_Init(void) { ipMode = buffer; } Log_Printf(LOGLEVEL_DEBUG, "SSID: %s, Password: %s, %s", s.ssid.c_str(), (s.password.length()) ? "yes" : "no", ipMode); - + if (gPrefsSettings.isKey("LAST_SSID") == false) { gPrefsSettings.putString("LAST_SSID", s.ssid); Log_Println("Warn: using saved SSID as LAST_SSID", LOGLEVEL_NOTICE); } - + return true; });