Change hostapd configuration file path
authorJiwan Kim <ji-wan.kim@samsung.com>
Tue, 21 Mar 2017 01:39:10 +0000 (10:39 +0900)
committersaerome.kim <saerome.kim@samsung.com>
Mon, 17 Jul 2017 02:35:36 +0000 (11:35 +0900)
src/mesh-softap.c

index 920d45f..2259cf5 100644 (file)
@@ -57,9 +57,9 @@
                                "ieee80211n=1\n"
 #define HOSTAPD_CONF_LEN       1024
 #define HOSTAPD_BIN            "/usr/sbin/hostapd"
-#define HOSTAPD_DEBUG_FILE     "/var/log/hostapd_mesh.log"
+#define HOSTAPD_DEBUG_FILE     "/var/log/mesh_hostapd.log"
 #define HOSTAPD_ENTROPY_FILE   tzplatform_mkpath(TZ_SYS_VAR, "/lib/misc/hostapd.bin")
-#define HOSTAPD_MESH_CONF_FILE tzplatform_mkpath(TZ_SYS_RUN, "/hostapd_mesh.conf")
+#define HOSTAPD_MESH_CONF_FILE tzplatform_mkpath(TZ_SYS_VAR, "/lib/mesh/mesh_hostapd.conf")
 #define HOSTAPD_CTRL_INTF_DIR  tzplatform_mkpath(TZ_SYS_RUN, "/hostapd")
 #define HOSTAPD_ALLOWED_LIST   tzplatform_mkpath(TZ_SYS_VAR, "/lib/hostapd/hostapd.accept")
 #define HOSTAPD_BLOCKED_LIST   tzplatform_mkpath(TZ_SYS_VAR, "/lib/hostapd/hostapd.deny")