wpa/hostapd(hidl): Implementation of terminate
These invoke the same functions as the "TERMINATE" string command in the
socket interface. The terminate command aborts the daemon (& cleans up
hwbinder, etc).
Bug: 72394251
Test: Compiles
Change-Id: I23238ff103aa7198e86827c23e7ce77922e17049
diff --git a/hostapd/hidl/1.0/hostapd.h b/hostapd/hidl/1.0/hostapd.h
index d4f632e..7985fd9 100644
--- a/hostapd/hidl/1.0/hostapd.h
+++ b/hostapd/hidl/1.0/hostapd.h
@@ -49,6 +49,7 @@
Return<void> removeAccessPoint(
const hidl_string& iface_name,
removeAccessPoint_cb _hidl_cb) override;
+ Return<void> terminate() override;
private:
// Corresponding worker functions for the HIDL methods.