commit | d509a10fbd3b9ba3f472d15873e89b948c7ccee7 | [log] [tgz] |
---|---|---|
author | Les Lee <lesl@google.com> | Fri Sep 24 00:18:04 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 24 00:18:04 2021 +0000 |
tree | f40bedc36a4766279e2a267986e9257ba5750233 | |
parent | d6bd167a2504e883c0ef115cfbbb1649ed518766 [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: Ib19a5f0c46b280f467890457ca83391dce75b22c
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); } } };