Android: Pass the vendor events to $(BOARD_HOSTAPD_PRIVATE_LIB)
Introduce a new board configuration via $(BOARD_HOSTAPD_PRIVATE_LIB_EVENT) rather than reusing $(BOARD_HOSTAPD_PRIVATE_LIB) to pass vendor events handling in the hostapd private library. This is to avoid compilation issues for wpa_driver_nl80211_driver_event() with the already existing private library implementations defined with $(BOARD_HOSTAPD_PRIVATE_LIB). This is similar to the existing BOARD_WPA_SUPPLICANT_PRIVATE_LIB_EVENT parameter for the wpa_supplicant build. Signed-off-by: Mohammad Asaad Akram <asadkrm@codeaurora.org>
This commit is contained in:
parent
39a1d55b76
commit
9efed66845
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,10 @@ ifeq ($(BOARD_HOSTAPD_PRIVATE_LIB),)
|
||||||
L_CFLAGS += -DANDROID_LIB_STUB
|
L_CFLAGS += -DANDROID_LIB_STUB
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($(BOARD_HOSTAPD_PRIVATE_LIB_EVENT),)
|
||||||
|
L_CFLAGS += -DANDROID_LIB_EVENT
|
||||||
|
endif
|
||||||
|
|
||||||
# Use Android specific directory for control interface sockets
|
# Use Android specific directory for control interface sockets
|
||||||
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
|
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
|
||||||
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/hostapd\"
|
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/hostapd\"
|
||||||
|
|
Loading…
Reference in a new issue