Allow STA SSID length of 32
Fixes: https://github.com/espressif/arduino-esp32/issues/3218
This commit is contained in:
parent
2ee66b54f0
commit
e7a2759b65
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user