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 2e12012..374911d 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -43,7 +43,11 @@ endif
# Use Android specific directory for control interface sockets
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
+ifdef USES_TI_MAC80211
+L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/wpa_supplicant\"
+else
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/hostapd\"
+endif
# To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm)