|
|
|
@ -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: |
|
|
|
|