Fix WiFi Multi not clearing password
This commit is contained in:
parent
c60092951f
commit
ea043cdb14
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue