hostapd: Fix AP ctrl events not send to hostapd_cli
Android hostapd aidl calls wpa_msg_register_cb() to register
onAsyncWpaEventCb to monitor ctrl events, this overwrites ctrl
iface's callback hostapd_ctrl_iface_msg_cb.
This results hostapd_cli not able to receive AP ctrl events from
hostapd.
This CL defines wpa_msg_register_aidl_cb() for Android hostapd
aidl to make sure both aidl and ctrl iface callbacks are triggered.
cp from pag/2244726
Bug: 237600228
Test: Manual Test
Change-Id: Ia2595657262d4166bddaacab6549e52bfe833510
3 files changed