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

Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b75cdd1542
chrysler-long2
Andrei Radulescu 1 year ago committed by GitHub
parent 9b40f9ab5f
commit 2c7427c203
  1. 3
      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<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();
}

Loading…
Cancel
Save