Skip to content

Commit

Permalink
ui/network: fix typos (commaai#32163)
Browse files Browse the repository at this point in the history
  • Loading branch information
deanlee authored Apr 11, 2024
1 parent ccddd48 commit e66ded4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions selfdrive/ui/qt/network/wifi_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ void WifiManager::refreshFinished(QDBusPendingCallWatcher *watcher) {
ipv4_address = getIp4Address();
seenNetworks.clear();

const QDBusReply<QList<QDBusObjectPath>> wather_reply = *watcher;
for (const QDBusObjectPath &path : wather_reply.value()) {
QDBusReply<QVariantMap> replay = call(path.path(), NM_DBUS_INTERFACE_PROPERTIES, "GetAll", NM_DBUS_INTERFACE_ACCESS_POINT);
auto properties = replay.value();
const QDBusReply<QList<QDBusObjectPath>> watcher_reply = *watcher;
for (const QDBusObjectPath &path : watcher_reply.value()) {
QDBusReply<QVariantMap> reply = call(path.path(), NM_DBUS_INTERFACE_PROPERTIES, "GetAll", NM_DBUS_INTERFACE_ACCESS_POINT);
auto properties = reply.value();

const QByteArray ssid = properties["Ssid"].toByteArray();
if (ssid.isEmpty()) continue;
Expand Down

0 comments on commit e66ded4

Please sign in to comment.