From 85c3cbd7baa24eec28ef2eee74b5d6c9210a84c4 Mon Sep 17 00:00:00 2001 From: sshane Date: Fri, 23 Jul 2021 16:12:01 -0700 Subject: [PATCH] networking: refresh on connect (#21691) * takes a while to refresh connecting to known network * no need to refresh an --- selfdrive/ui/qt/offroad/networking.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/qt/offroad/networking.cc b/selfdrive/ui/qt/offroad/networking.cc index d90e36e82..a70150a0d 100644 --- a/selfdrive/ui/qt/offroad/networking.cc +++ b/selfdrive/ui/qt/offroad/networking.cc @@ -77,6 +77,7 @@ void Networking::refresh() { void Networking::connectToNetwork(const Network &n) { if (wifi->isKnownConnection(n.ssid)) { wifi->activateWifiConnection(n.ssid); + wifiWidget->refresh(); } else if (n.security_type == SecurityType::OPEN) { wifi->connect(n); } else if (n.security_type == SecurityType::WPA) {