Merge "wifi: Support interface disable event in hostapd" into tm-dev am: 28ac94d2ad

Original change: https://googleplex-android-review.googlesource.com/c/platform/external/wpa_supplicant_8/+/17817322

Change-Id: I521edf95db243025193d5080dd295562461d872e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/hostapd/aidl/hostapd.cpp b/hostapd/aidl/hostapd.cpp
index f0fa687..11d1290 100644
--- a/hostapd/aidl/hostapd.cpp
+++ b/hostapd/aidl/hostapd.cpp
@@ -1010,7 +1010,9 @@
 			for (const auto &callback : callbacks_) {
 				callback->onApInstanceInfoChanged(info);
 			}
-		} else if (os_strncmp(txt, AP_EVENT_DISABLED, strlen(AP_EVENT_DISABLED)) == 0) {
+		} else if (os_strncmp(txt, AP_EVENT_DISABLED, strlen(AP_EVENT_DISABLED)) == 0
+                           || os_strncmp(txt, INTERFACE_DISABLED, strlen(INTERFACE_DISABLED)) == 0)
+		{
 			// Invoke the failure callback on all registered clients.
 			for (const auto& callback : callbacks_) {
 				callback->onFailure(strlen(iface_hapd->conf->bridge) > 0 ?