mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-27 17:42:04 +08:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user