networking: refresh on connect (#21691)

* takes a while to refresh connecting to known network

* no need to refresh an
pull/21668/head^2
sshane 4 years ago committed by GitHub
parent f67467f321
commit 85c3cbd7ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      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) {

Loading…
Cancel
Save