From cf136cc5fc5e261eee0071e80e1411e9338b04d9 Mon Sep 17 00:00:00 2001 From: "saerome.kim" Date: Tue, 13 Jun 2017 15:51:29 +0900 Subject: [PATCH] Change function time to succeed TCT - change return type from void to int of mesh_deinitialize function Signed-off-by: saerome.kim --- src/mesh.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mesh.c b/src/mesh.c index 3b72797..3c43dbc 100644 --- a/src/mesh.c +++ b/src/mesh.c @@ -406,13 +406,14 @@ EXPORT_API int mesh_initialize(mesh_h *mesh) EXPORT_API int mesh_deinitialize(mesh_h handle) { + int rv = 0; CHECK_FEATURE_SUPPORTED(MESH_FEATURE); - _mesh_dbus_stop(handle); + rv = _mesh_dbus_stop(handle); LOGI("Destroy handle: %p", handle); - return MESH_ERROR_NONE; + return rv; } EXPORT_API int mesh_set_event_cb(mesh_h handle, mesh_event_cb event_handler) -- 2.34.1