WiFi manager bugfix: delete the cached psk when changing the password
Previously, the cached psk, which is derived from the password and passed to wpa_supplicant, was not updated when changing the password.
This commit is contained in:
1 parent
e0c2232237
commit
3e656d71e0
1 file changed
+1
@@ -255,6 +255,7 @@ function NetworkItem:saveAndConnectToNetwork(password_input)
|
||||
else
|
||||
if new_passwd ~= self.info.password then
|
||||
self.info.password = new_passwd
|
||||
self.info.psk = nil
|
||||
NetworkMgr:saveNetwork(self.info)
|
||||
end
|
||||
self:connect()
|
||||
|
||||
Reference in new issue
Block a user