commit | ddc2750b885e369712fc380ba0d605086ac214de | [log] [tgz] |
---|---|---|
author | Les Lee <lesl@google.com> | Fri Sep 24 00:43:44 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Sep 24 00:43:44 2021 +0000 |
tree | f40bedc36a4766279e2a267986e9257ba5750233 | |
parent | ae20ec81244f538b77f4d2c56b03cf2c192314a7 [diff] | |
parent | efa4bf808022162aee4328cd3d66e763f10a1deb [diff] |
wifi: Fix incorrect iface when handling interface init failure am: f0def8fc18 am: e74e6986e6 am: efa4bf8080 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/15888531 Change-Id: I4bbce4bc06d44489f11a3a15f702caca54a9a1d3
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); } } };