Fix Changing wifi networks hangs

This commit is contained in:
camerony authored and GitHub committed 2023-01-29 09:40:45 -06:00
1 parent 34055277e0
commit 85cec193f9
1 file changed
+1 -1
+1 -1
View File
@@ -110,7 +110,7 @@ class WifiManager:
logging.info(f"Attempting to connect to wifi: {netid}")
self.callback("connecting_status", f"Attempting to connect to {ssid}")
self.wpa_cli(f"SELECT_NETWORK {id}")
self.wpa_cli(f"SELECT_NETWORK {netid}")
self.save_wpa_conf()
def delete_network(self, ssid):