From f1ee79ef14fcee03f4c2a790ab997677c9c97e20 Mon Sep 17 00:00:00 2001 From: ShaneSmiskol Date: Wed, 30 Jun 2021 12:39:15 -0700 Subject: [PATCH] Revert "debugging" This reverts commit 67e32b4a3cc76aa13bd8bd6347e683dc71efa817. --- selfdrive/ui/qt/offroad/networking.cc | 2 -- selfdrive/ui/qt/offroad/wifiManager.cc | 3 --- 2 files changed, 5 deletions(-) diff --git a/selfdrive/ui/qt/offroad/networking.cc b/selfdrive/ui/qt/offroad/networking.cc index 5e0a7284bf..bb35bead36 100644 --- a/selfdrive/ui/qt/offroad/networking.cc +++ b/selfdrive/ui/qt/offroad/networking.cc @@ -103,13 +103,11 @@ void Networking::requestScan() { return; } } - qDebug() << "REQUESTING SCAN"; wifi->requestScan(); } void Networking::refresh() { if (this->isVisible() || firstRefresh) { - qDebug() << "REFRESHING UI"; wifiWidget->refresh(); an->refresh(); firstRefresh = false; diff --git a/selfdrive/ui/qt/offroad/wifiManager.cc b/selfdrive/ui/qt/offroad/wifiManager.cc index 0354210368..5007b59b4f 100644 --- a/selfdrive/ui/qt/offroad/wifiManager.cc +++ b/selfdrive/ui/qt/offroad/wifiManager.cc @@ -374,7 +374,6 @@ void WifiManager::stateChange(unsigned int new_state, unsigned int previous_stat knownConnections.remove(getConnectionPath(connecting_to_network)); emit wrongPassword(connecting_to_network); } else if (new_state == state_connected) { - qDebug() << "STATE_CONNECTED"; connecting_to_network = ""; refreshNetworks(); emit refreshSignal(); @@ -384,7 +383,6 @@ void WifiManager::stateChange(unsigned int new_state, unsigned int previous_stat // https://developer.gnome.org/NetworkManager/stable/gdbus-org.freedesktop.NetworkManager.Device.Wireless.html void WifiManager::propertyChange(const QString &interface, const QVariantMap &props, const QStringList &invalidated_props) { if (interface == wireless_device_iface && props.contains("LastScan")) { - qDebug() << "LAST_SCAN"; if (knownConnections.isEmpty()) { knownConnections = listConnections(); } @@ -400,7 +398,6 @@ void WifiManager::connectionRemoved(const QDBusObjectPath &path) { void WifiManager::newConnection(const QDBusObjectPath &path) { knownConnections[path] = getConnectionSsid(path); activateWifiConnection(knownConnections[path]); - qDebug() << "NEW_CONNECTION"; } void WifiManager::disconnect() {