From 2c7427c2038611809cef668954e244ca4e2f6b06 Mon Sep 17 00:00:00 2001 From: Andrei Radulescu Date: Sun, 17 Dec 2023 21:07:48 +0200 Subject: [PATCH] wifiManager: fix for lteConnectionPath not set on boot (#30517) Co-authored-by: Justin Newberry old-commit-hash: b75cdd15422d8716390ff981102fdbd290770b75 --- selfdrive/ui/qt/network/wifi_manager.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); }