Add scan start logging

This commit is contained in:
Theo Arends 2021-04-13 17:00:54 +02:00
parent 22fcf5061d
commit 06ac5c4053
1 changed files with 2 additions and 3 deletions

View File

@ -1705,9 +1705,6 @@ String HtmlEscape(const String unescaped) {
return result; return result;
} }
// Indexed by enum wl_enc_type in file wl_definitions.h starting from -1
const char kEncryptionType[] PROGMEM = "|||" D_WPA_PSK "||" D_WPA2_PSK "|" D_WEP "||" D_NONE "|" D_AUTO;
void HandleWifiConfiguration(void) { void HandleWifiConfiguration(void) {
char tmp[TOPSZ]; // Max length is currently 150 char tmp[TOPSZ]; // Max length is currently 150
@ -1780,6 +1777,8 @@ void HandleWifiConfiguration(void) {
limitScannedNetworks = false; limitScannedNetworks = false;
} else { } else {
if (Webserver->hasArg(F("scan"))) { limitScannedNetworks = false; } if (Webserver->hasArg(F("scan"))) { limitScannedNetworks = false; }
AddLog(LOG_LEVEL_DEBUG, PSTR(D_LOG_WIFI "Scanning..."));
#ifdef USE_EMULATION #ifdef USE_EMULATION
UdpDisconnect(); UdpDisconnect();
#endif // USE_EMULATION #endif // USE_EMULATION