Allow STA SSID length of 32

Fixes: https://github.com/espressif/arduino-esp32/issues/3218
This commit is contained in:
Me No Dev 2021-03-23 14:30:19 +02:00 committed by GitHub
parent 2ee66b54f0
commit e7a2759b65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ wl_status_t WiFiSTAClass::begin(const char* ssid, const char *passphrase, int32_
return WL_CONNECT_FAILED;
}
if(!ssid || *ssid == 0x00 || strlen(ssid) > 31) {
if(!ssid || *ssid == 0x00 || strlen(ssid) > 32) {
log_e("SSID too long or missing!");
return WL_CONNECT_FAILED;
}