1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +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); _mode(WIFI_AP);
} }
if(!ssid || strlen(ssid) || strlen(ssid) > 31) { if(!ssid || *ssid == 0 || strlen(ssid) > 31) {
// fail SSID too long or missing! // fail SSID too long or missing!
return; return;
} }