networking: refresh on connect (#21691)

* takes a while to refresh connecting to known network

* no need to refresh an
old-commit-hash: 85c3cbd7ba
commatwo_master
sshane 4 years ago committed by GitHub
parent 5a240419e6
commit 133926efb3
  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