From: Abhay Agarwal Date: Tue, 22 Dec 2020 10:44:35 +0000 (+0530) Subject: mesh: update interface registration return statements X-Git-Tag: accepted/tizen/unified/20210122.123002~2^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F58%2F250558%2F1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-frwk.git mesh: update interface registration return statements Change-Id: Ic1798ce698a6a8b5e340fd9f46546c5d7299f592 Signed-off-by: Abhay Agarwal --- diff --git a/bt-oal/bluez_hal/src/bt-hal-mesh-dbus-handler.c b/bt-oal/bluez_hal/src/bt-hal-mesh-dbus-handler.c index be32a69..1c42379 100644 --- a/bt-oal/bluez_hal/src/bt-hal-mesh-dbus-handler.c +++ b/bt-oal/bluez_hal/src/bt-hal-mesh-dbus-handler.c @@ -1682,14 +1682,14 @@ bool __bt_hal_mesh_register_application(meshcfg_app *ptr) __bt_hal_mesh_setup_app_iface, NULL, false)) { ERR("Mesh: Failed to register interface %s", BT_HAL_MESH_APPLICATION_INTERFACE); - //return false; + return false; } if (!l_dbus_register_interface(dbus, BT_HAL_MESH_PROVISIONER_INTERFACE, __bt_hal_mesh_setup_prov_iface, NULL, false)) { ERR("Mesh: Failed to register interface %s", BT_HAL_MESH_PROVISIONER_INTERFACE); - //return false; + return false; } if (!l_dbus_register_object(dbus, ptr->path, NULL, NULL, @@ -1707,7 +1707,7 @@ bool __bt_hal_mesh_register_application(meshcfg_app *ptr) __bt_hal_mesh_setup_ele_iface, NULL, false)) { ERR("Mesh: Failed to register interface %s", BT_HAL_MESH_ELEMENT_INTERFACE); - //return false; + return false; } INFO("Mesh: Number of elements to be registsred [%d]",