From 46c32613fccd22e356c0b3092b61132ce264ae49 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Sat, 26 Aug 2023 05:15:05 -0700 Subject: [PATCH] ui/network: refresh IP address on connect --- selfdrive/ui/qt/offroad/wifiManager.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/qt/offroad/wifiManager.cc b/selfdrive/ui/qt/offroad/wifiManager.cc index eea8e77e86..cf697bd420 100644 --- a/selfdrive/ui/qt/offroad/wifiManager.cc +++ b/selfdrive/ui/qt/offroad/wifiManager.cc @@ -271,6 +271,7 @@ void WifiManager::stateChange(unsigned int new_state, unsigned int previous_stat forgetConnection(connecting_to_network); emit wrongPassword(connecting_to_network); } else if (new_state == NM_DEVICE_STATE_ACTIVATED) { + ipv4_address = getIp4Address(); setCurrentSsid("", connecting_to_network); } }