wifi: Extend onFailure callback for dual AP case

There are two AP instances when a bridged mode AP is running.
Extend onFailure callback to support bridged mode cases.
So if there is a problem in one of the instances, the framework
can handle the failure separately. (i.e. No need to shutdown the
whole Soft Ap).

Bug: 188921389
Test: Test with test code, the callback works normally.
Change-Id: I1c4679e1898a29be910709b7a9be0222ad3e575c
diff --git a/hostapd/aidl/hostapd.cpp b/hostapd/aidl/hostapd.cpp
index 816ddfc..da76a01 100644
--- a/hostapd/aidl/hostapd.cpp
+++ b/hostapd/aidl/hostapd.cpp
@@ -848,7 +848,8 @@
 				// clients.
 				for (const auto& callback : callbacks_) {
 					callback->onFailure(strlen(iface_hapd->conf->bridge) > 0 ?
-						iface_hapd->conf->bridge : iface_hapd->conf->iface);
+						iface_hapd->conf->bridge : iface_hapd->conf->iface,
+							    iface_hapd->conf->iface);
 				}
 			}
 		};
@@ -897,7 +898,8 @@
 			// Invoke the failure callback on all registered clients.
 			for (const auto& callback : callbacks_) {
 				callback->onFailure(strlen(iface_hapd->conf->bridge) > 0 ?
-									iface_hapd->conf->bridge : iface_hapd->conf->iface);
+					iface_hapd->conf->bridge : iface_hapd->conf->iface,
+						    iface_hapd->conf->iface);
 			}
 		}
 	};
@@ -1005,4 +1007,4 @@
 }  // namespace wifi
 }  // namespace hardware
 }  // namespace android
-}  // namespace aidl
\ No newline at end of file
+}  // namespace aidl