aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Android.mk
diff options
context:
space:
mode:
authorMikael Kanstrup <mikael.kanstrup@sonymobile.com>2015-03-18 11:51:18 (GMT)
committerJouni Malinen <j@w1.fi>2015-03-26 13:29:13 (GMT)
commitba87329d9690fd75bcc036f60d877d1950898a7f (patch)
tree15710e3e72ee8e41c2c358a894794acafa19d0cf /wpa_supplicant/Android.mk
parent8278138e679174b1ec8af7f169c2810a8888e202 (diff)
downloadhostap-ba87329d9690fd75bcc036f60d877d1950898a7f.zip
hostap-ba87329d9690fd75bcc036f60d877d1950898a7f.tar.gz
hostap-ba87329d9690fd75bcc036f60d877d1950898a7f.tar.bz2
wpa_cli: Use .wpa_cli_history under Android
wpa_cli already implements a command history file for easy accessing commands previously used. Enable the functionality on Android, too. Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
Diffstat (limited to 'wpa_supplicant/Android.mk')
-rw-r--r--wpa_supplicant/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/Android.mk b/wpa_supplicant/Android.mk
index 5ce8da1..75d8dd0 100644
--- a/wpa_supplicant/Android.mk
+++ b/wpa_supplicant/Android.mk
@@ -40,6 +40,9 @@ endif
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/wpa_supplicant\"
+# Use Android specific directory for wpa_cli command completion history
+L_CFLAGS += -DCONFIG_WPA_CLI_HISTORY_DIR=\"/data/misc/wifi\"
+
# To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm)
L_CFLAGS += -mabi=aapcs-linux