From 5e893f8a58ecc85050c4e8686c65125edade2892 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Tue, 26 Jul 2022 17:47:40 +0200 Subject: [PATCH] fix finding the lte connection (#25286) old-commit-hash: ab236e5ae0330edd984c8f19e694ab50090e9183 --- selfdrive/ui/qt/offroad/wifiManager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/offroad/wifiManager.cc b/selfdrive/ui/qt/offroad/wifiManager.cc index 124138eea4..fbb64b972e 100644 --- a/selfdrive/ui/qt/offroad/wifiManager.cc +++ b/selfdrive/ui/qt/offroad/wifiManager.cc @@ -303,7 +303,7 @@ void WifiManager::initConnections() { const Connection settings = getConnectionSettings(path); if (settings.value("connection").value("type") == "802-11-wireless") { knownConnections[path] = settings.value("802-11-wireless").value("ssid").toString(); - } else if (path.path() != "/") { + } else if (settings.value("connection").value("id") == "lte") { lteConnectionPath = path; } }