aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/Android.mk
diff options
context:
space:
mode:
authorMikael Kanstrup <mikael.kanstrup@sonymobile.com>2016-10-12 12:18:54 (GMT)
committerJouni Malinen <j@w1.fi>2016-10-16 08:55:02 (GMT)
commitbc4b680c22d4d400c490336e2c13319291d2cd1a (patch)
tree6bd24972453cc7e266528a3381cac81aac8bad9a /hostapd/Android.mk
parentcf296a23d503bf8fb3f4aa887e5b95a028c4cbf3 (diff)
downloadhostap-bc4b680c22d4d400c490336e2c13319291d2cd1a.zip
hostap-bc4b680c22d4d400c490336e2c13319291d2cd1a.tar.gz
hostap-bc4b680c22d4d400c490336e2c13319291d2cd1a.tar.bz2
hostapd_cli: Enable command completion and history for Android
Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sonymobile.com>
Diffstat (limited to 'hostapd/Android.mk')
-rw-r--r--hostapd/Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/Android.mk b/hostapd/Android.mk
index 1cc78d7..f9ce877 100644
--- a/hostapd/Android.mk
+++ b/hostapd/Android.mk
@@ -38,6 +38,9 @@ endif
L_CFLAGS += -DCONFIG_CTRL_IFACE_CLIENT_DIR=\"/data/misc/wifi/sockets\"
L_CFLAGS += -DCONFIG_CTRL_IFACE_DIR=\"/data/system/hostapd\"
+# Use Android specific directory for hostapd_cli command completion history
+L_CFLAGS += -DCONFIG_HOSTAPD_CLI_HISTORY_DIR=\"/data/misc/wifi\"
+
# To force sizeof(enum) = 4
ifeq ($(TARGET_ARCH),arm)
L_CFLAGS += -mabi=aapcs-linux