aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index ee153d0..fefc40b 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -28,6 +28,10 @@ ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
L_CFLAGS += -DANDROID_P2P
endif
+ifeq ($(BOARD_LEGACY_NL80211_STA_EVENTS),true)
+L_CFLAGS += -DLEGACY_STA_EVENTS
+endif
+
ifeq ($(BOARD_WLAN_DEVICE), qcwcn)
L_CFLAGS += -DANDROID_QCOM_WCN
L_CFLAGS += -DANDROID_P2P