From 3e656d71e07bc4460ee02cbf8aed5a6fd36389c7 Mon Sep 17 00:00:00 2001 From: Cosmin Gorgovan Date: Sun, 26 Mar 2017 23:16:48 +0100 Subject: [PATCH] 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. --- frontend/ui/widget/networksetting.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/ui/widget/networksetting.lua b/frontend/ui/widget/networksetting.lua index 60efaf4ad..a0a582185 100644 --- a/frontend/ui/widget/networksetting.lua +++ b/frontend/ui/widget/networksetting.lua @@ -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()