Skip to content

Commit 3a48e49

Browse files
author
Ace Zhao
committed
fix can not connect empty password wifi with MultiWiFi lib
1 parent 50ad559 commit 3a48e49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: libraries/WiFi/src/WiFiMulti.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ bool WiFiMulti::APlistAdd(const char* ssid, const char *passphrase)
187187
free(newAP.ssid);
188188
return false;
189189
}
190+
} else {
191+
newAP.passphrase = 0x00;
190192
}
191193

192194
APlist.push_back(newAP);

0 commit comments

Comments
 (0)