wifiManager: fix for lteConnectionPath not set on boot (#30517)

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b75cdd15422d8716390ff981102fdbd290770b75
This commit is contained in:
Andrei Radulescu
2023-12-17 21:07:48 +02:00
committed by GitHub
parent 9b40f9ab5f
commit 2c7427c203
+2 -1
View File
@@ -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<uint>(adapter, NM_DBUS_INTERFACE_PROPERTIES, "Get", NM_DBUS_INTERFACE_DEVICE, "State");
activeAp = call<QDBusObjectPath>(adapter, NM_DBUS_INTERFACE_PROPERTIES, "Get", NM_DBUS_INTERFACE_DEVICE_WIRELESS, "ActiveAccessPoint").path();
initConnections();
requestScan();
}