1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00
This commit is contained in:
Ivan Grokhotkov 2015-11-21 20:09:18 +03:00
parent 40da463ee6
commit ab16b2fe0d

View File

@ -328,7 +328,7 @@ void ESP8266WiFiClass::softAP(const char* ssid, const char* passphrase, int chan
_mode(WIFI_AP);
}
if(!ssid || strlen(ssid) || strlen(ssid) > 31) {
if(!ssid || *ssid == 0 || strlen(ssid) > 31) {
// fail SSID too long or missing!
return;
}