diff --git a/selfdrive/ui/qt/network/wifi_manager.cc b/selfdrive/ui/qt/network/wifi_manager.cc index 03c6896f7a..ebb5cb8736 100644 --- a/selfdrive/ui/qt/network/wifi_manager.cc +++ b/selfdrive/ui/qt/network/wifi_manager.cc @@ -59,6 +59,8 @@ WifiManager::WifiManager(QObject *parent) : QObject(parent) { } timer.callOnTimeout(this, &WifiManager::requestScan); + + initConnections(); } void WifiManager::setup() { @@ -72,7 +74,6 @@ void WifiManager::setup() { raw_adapter_state = call(adapter, NM_DBUS_INTERFACE_PROPERTIES, "Get", NM_DBUS_INTERFACE_DEVICE, "State"); activeAp = call(adapter, NM_DBUS_INTERFACE_PROPERTIES, "Get", NM_DBUS_INTERFACE_DEVICE_WIRELESS, "ActiveAccessPoint").path(); - initConnections(); requestScan(); }