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);
|
free(newAP.ssid);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
newAP.passphrase = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
APlist.push_back(newAP);
|
APlist.push_back(newAP);
|
||||||
|
Loading…
Reference in New Issue
Block a user