commit | e74e6986e64152b7189d5216a20803666273e2ae | [log] [tgz] |
---|---|---|
author | Les Lee <lesl@google.com> | Fri Sep 24 00:18:02 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 24 00:18:02 2021 +0000 |
tree | f40bedc36a4766279e2a267986e9257ba5750233 | |
parent | d6ff350f8975d025dcaa295448ea4c620621a27b [diff] | |
parent | f0def8fc1801c1917262bd56d599b57361329dad [diff] |
wifi: Fix incorrect iface when handling interface init failure am: f0def8fc18 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/15888531 Change-Id: Iafb8dc1ef190089cabcaa4d41735ac9ddc9f36e7
diff --git a/hostapd/hidl/1.3/hostapd.cpp b/hostapd/hidl/1.3/hostapd.cpp index 6add761..f9d2647 100644 --- a/hostapd/hidl/1.3/hostapd.cpp +++ b/hostapd/hidl/1.3/hostapd.cpp
@@ -879,8 +879,8 @@ // Invoke the failure callback on all registered // clients. for (const auto& callback : callbacks_) { - callback->onFailure( - iface_hapd->conf->iface); + callback->onFailure(strlen(iface_hapd->conf->bridge) > 0 ? + iface_hapd->conf->bridge : iface_hapd->conf->iface); } } };