diff options
author | Les Lee <lesl@google.com> | 2022-05-05 12:42:14 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-05-05 12:42:14 +0000 |
commit | 28ac94d2ad6f54ff5ec39846d9763941e94db5ac (patch) | |
tree | e1f8fad1d859072bc515263ba4764f0fba81934f | |
parent | f928e8f6c79d01180137845f1c42e0144e508440 (diff) | |
parent | a0c90cbe9e537f643bdfdcffe893ccf981aeb06b (diff) | |
download | wpa_supplicant_8-28ac94d2ad6f54ff5ec39846d9763941e94db5ac.tar.gz |
Merge "wifi: Support interface disable event in hostapd" into tm-dev
-rw-r--r-- | hostapd/aidl/hostapd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hostapd/aidl/hostapd.cpp b/hostapd/aidl/hostapd.cpp index f0fa687a..11d1290c 100644 --- a/hostapd/aidl/hostapd.cpp +++ b/hostapd/aidl/hostapd.cpp @@ -1010,7 +1010,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 ? |