Android: Use /data/system/wpa_supplicant path as default in wpa_cli
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 15 Mar 2011 13:27:17 +0000 (15:27 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 15 Mar 2011 13:27:17 +0000 (15:27 +0200)
wpa_supplicant/Android.mk

index 1d05ccd..b411f34 100644 (file)
@@ -32,6 +32,7 @@ L_CFLAGS = -DWPA_IGNORE_CONFIG_ERRORS
 
 # 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\"
 
 # To force sizeof(enum) = 4
 ifeq ($(TARGET_ARCH),arm)