Skip to content

Commit 060d031

Browse files
authored
[WiFi] Allow spaces in SSID and pass phrase
So don't trim them
1 parent 945d39b commit 060d031

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/src/Helpers/WiFi_AP_CandidatesList.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,8 @@ bool WiFi_AP_CandidatesList::get_SSID_key(byte index, String& ssid, String& key)
241241

242242
// TODO TD-er: Read other credentials from extra file.
243243

244-
ssid.trim();
245-
key.trim();
244+
245+
246+
// Spaces are allowed in both SSID and pass phrase, so make sure to not trim the ssid and key.
246247
return true;
247248
}

0 commit comments

Comments
 (0)