Space do not generate error anymore

so remove the limitation thanks @szepnorbee for the feedback
This commit is contained in:
luc lebosse 2016-11-24 15:38:02 +01:00
parent 6641e4aa4f
commit ec90a27e7e

View File

@ -70,9 +70,9 @@ bool CONFIG::isSSIDValid(const char * ssid)
for (int i=0; i < strlen(ssid); i++) { for (int i=0; i < strlen(ssid); i++) {
c = ssid[i]; c = ssid[i];
//if (!(isdigit(c) || isalpha(c))) return false; //if (!(isdigit(c) || isalpha(c))) return false;
if (c==' ') { //if (c==' ') {
return false; // return false;
} //}
} }
return true; return true;
} }