aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2012-08-09 19:49:36 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-09 20:18:32 (GMT)
commit7a56712c0cb4b9439f53c02ea3c4170126e3649a (patch)
tree46b14c9d4e2638c1589862a474e98c117a11cc01 /wpa_supplicant
parent82046b7a170210e2b3127da62cf747f237e40b9f (diff)
downloadhostap-7a56712c0cb4b9439f53c02ea3c4170126e3649a.zip
hostap-7a56712c0cb4b9439f53c02ea3c4170126e3649a.tar.gz
hostap-7a56712c0cb4b9439f53c02ea3c4170126e3649a.tar.bz2
AOSP: Define ANDROID_P2P for bcmdhd
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 66aefa9..74d5dec 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -29,6 +29,10 @@ ifdef CONFIG_NO_ROAMING
L_CFLAGS += -DCONFIG_NO_ROAMING
endif
+ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
+L_CFLAGS += -DANDROID_P2P
+endif
+
# Use Android specific directory for control interface sockets
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/wpa_supplicant\"