mirror of
https://github.com/espressif/arduino-esp32
synced 2024-09-22 02:48:26 +00:00
Fix WiFi Multi not clearing password
This commit is contained in:
parent
c60092951f
commit
ea043cdb14
@ -194,6 +194,8 @@ bool WiFiMulti::APlistAdd(const char* ssid, const char *passphrase)
|
||||
free(newAP.ssid);
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
newAP.passphrase = NULL;
|
||||
}
|
||||
|
||||
APlist.push_back(newAP);
|
||||
|
Loading…
Reference in New Issue
Block a user