Merge branch 'master' into setup_flow

pull/35960/head
Maxime Desroches 6 days ago
commit da9dab92a0
  1. 4
      system/ui/lib/wifi_manager.py

@ -101,8 +101,8 @@ class WifiManager:
"""Connect to the DBus system bus.""" """Connect to the DBus system bus."""
try: try:
self.bus = await MessageBus(bus_type=BusType.SYSTEM).connect() self.bus = await MessageBus(bus_type=BusType.SYSTEM).connect()
if not await self._find_wifi_device(): while not await self._find_wifi_device():
raise ValueError("No Wi-Fi device found") await asyncio.sleep(1)
await self._setup_signals(self.device_path) await self._setup_signals(self.device_path)
self.active_ap_path = await self.get_active_access_point() self.active_ap_path = await self.get_active_access_point()

Loading…
Cancel
Save