Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ea043cd

Browse files
committedApr 13, 2019
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
 

‎libraries/WiFi/src/WiFiMulti.cpp

Lines changed: 2 additions & 0 deletions
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)
Please sign in to comment.