Skip to content

Commit ea043cd

Browse files
committed
Fix WiFi Multi not clearing password
1 parent c600929 commit ea043cd

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
@@ -194,6 +194,8 @@ bool WiFiMulti::APlistAdd(const char* ssid, const char *passphrase)
194194
free(newAP.ssid);
195195
return false;
196196
}
197+
} else {
198+
newAP.passphrase = NULL;
197199
}
198200

199201
APlist.push_back(newAP);

0 commit comments

Comments
 (0)