Remove hostapd configuration file after starting SoftAp 86/189786/2 accepted/tizen/unified/20180921.042406 submit/tizen/20180920.120346
authorNishant Chaprana <n.chaprana@samsung.com>
Thu, 20 Sep 2018 11:52:23 +0000 (17:22 +0530)
committerNishant Chaprana <n.chaprana@samsung.com>
Thu, 20 Sep 2018 11:56:42 +0000 (17:26 +0530)
Change-Id: I046024e09c99f25684717159496edeb0772ae2a9
Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
packaging/wifi-mesh-manager.spec
src/wmesh-softap.c

index 4cdfb8b..99988e1 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:          wifi-mesh-manager
 Summary:       Wi-Fi mesh network daemon
-Version:       0.0.4
+Version:       0.0.5
 Release:       1
 Group:      Network & Connectivity/Wireless
 License:    Apache-2.0
index 93fe739..a95009e 100644 (file)
@@ -514,6 +514,9 @@ int wmesh_softap_enable_softap(const char* softap_interface)
                /* LCOV_EXCL_STOP */
        }
 
+       if (remove(HOSTAPD_MESH_CONF_FILE) == -1)
+               WMESH_LOGE("hostapd conf remove is failed");
+
        return ret;
 }