this doesn't work since we rely on is_connected

pull/36066/head
Shane Smiskol 5 days ago
parent 8d883dd988
commit 7455b2fe83
  1. 6
      system/ui/lib/wifi_manager.py

@ -217,7 +217,8 @@ class WifiManager:
elif new_state == NMDeviceState.ACTIVATED:
if self._activated is not None:
self._update_networks()
# self._update_networks()
self._last_network_update = time.monotonic()
self._enqueue_callback(self._activated)
self._connecting_to_ssid = ""
@ -333,7 +334,8 @@ class WifiManager:
self._router_main.send_and_get_reply(new_method_call(conn_addr, 'Delete'))
if self._forgotten is not None:
self._update_networks()
# self._update_networks()
self._last_network_update = 0.0
self._enqueue_callback(self._forgotten)
if block:

Loading…
Cancel
Save