aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEyal Shapira <eyal@wizery.com>2012-07-20 23:39:50 +0300
committerArik Nemtsov <arik@wizery.com>2012-08-02 13:04:01 +0300
commitf02659a5a011c81df97b1018fe597625b741f57c (patch)
tree0aabbf97a43678269b863d8285f54d79ee9fc1bd
parent6a4fb04550ccc0ace50d77c72d96aa00573493a3 (diff)
downloadexternal_wpa_supplicant_8_ti-f02659a5a011c81df97b1018fe597625b741f57c.zip
external_wpa_supplicant_8_ti-f02659a5a011c81df97b1018fe597625b741f57c.tar.gz
external_wpa_supplicant_8_ti-f02659a5a011c81df97b1018fe597625b741f57c.tar.bz2
Android.mk: Define ANDROID_P2P
Changes within #ifdef ANDROID_P2P are BRCM additions which are non BRCM specific and there should be included. That's in contrast of ANDROID_BRCM_P2P_PATCH which mark parts that are BRCM implementation specific (like device_ap_sme) and therefore would be compiled in only when compiling with BRCM driver. Change-Id: I031f0908055756b6e85b64c5151c18b8a73b9841 Signed-off-by: Eyal Shapira <eyal@wizery.com>
-rw-r--r--hostapd/Android.mk2
-rw-r--r--wpa_supplicant/Android.mk2
2 files changed, 4 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 1efa122..cacab6d 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -28,6 +28,8 @@ ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
L_CFLAGS += -DANDROID_BRCM_P2P_PATCH
endif
+L_CFLAGS += -DANDROID_P2P
+
# Use Android specific directory for control interface sockets
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index ab09995..5455538 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -33,6 +33,8 @@ ifeq ($(BOARD_WLAN_DEVICE), bcmdhd)
L_CFLAGS += -DANDROID_BRCM_P2P_PATCH
endif
+L_CFLAGS += -DANDROID_P2P
+
# 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\"