aboutsummaryrefslogtreecommitdiff
path: root/hostapd/aidl/hostapd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/aidl/hostapd.cpp')
-rw-r--r--hostapd/aidl/hostapd.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/hostapd/aidl/hostapd.cpp b/hostapd/aidl/hostapd.cpp
index d973dae8..e4e0a88e 100644
--- a/hostapd/aidl/hostapd.cpp
+++ b/hostapd/aidl/hostapd.cpp
@@ -1013,7 +1013,9 @@ std::vector<uint8_t> generateRandomOweSsid()
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 ?