From f02659a5a011c81df97b1018fe597625b741f57c Mon Sep 17 00:00:00 2001 From: Eyal Shapira Date: Fri, 20 Jul 2012 23:39:50 +0300 Subject: 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 --- hostapd/Android.mk | 2 ++ wpa_supplicant/Android.mk | 2 ++ 2 files changed, 4 insertions(+) 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\" -- cgit v1.1