aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2014-04-11 23:05:39 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-29 15:59:12 (GMT)
commit959214b260e930ef2148cf45f02d5a851058ae04 (patch)
tree81d3516971879036aebf4465826801e658404144 /hostapd/Android.mk
parent9a41232165f6e51b95f6a2da23e98d3b95662f8d (diff)
downloadhostap-959214b260e930ef2148cf45f02d5a851058ae04.zip
hostap-959214b260e930ef2148cf45f02d5a851058ae04.tar.gz
hostap-959214b260e930ef2148cf45f02d5a851058ae04.tar.bz2
Android: Use extended P2P functionality (ANDROID_P2P) for all vendors
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk12
1 files changed, 3 insertions, 9 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 74c9b27..edaf6fc 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -27,16 +27,10 @@ L_CFLAGS += -DANDROID_LOG_NAME=\"hostapd\"
# Disable unused parameter warnings
L_CFLAGS += -Wno-unused-parameter
-ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
-L_CFLAGS += -DANDROID_P2P
-endif
-
-ifeq ($(BOARD_WLAN_DEVICE), qcwcn)
-L_CFLAGS += -DANDROID_P2P
-endif
-
-ifeq ($(BOARD_WLAN_DEVICE), mrvl)
+# Set Android extended P2P functionality
L_CFLAGS += -DANDROID_P2P
+ifeq ($(BOARD_HOSTAPD_PRIVATE_LIB),)
+L_CFLAGS += -DANDROID_P2P_STUB
endif
# Use Android specific directory for control interface sockets