Add skip logic for hal_bluetooth_stop error 62/296062/1 accepted/tizen/unified/20230725.013000
authorWootak Jung <wootak.jung@samsung.com>
Wed, 19 Jul 2023 06:07:52 +0000 (15:07 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Wed, 19 Jul 2023 06:25:58 +0000 (15:25 +0900)
Change-Id: If54d0275ff109de0b2da9ad8ff2abcd6de3ef8ec
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
bt-core/bt-core-adapter.c

index 3b5cb24..b566e64 100644 (file)
@@ -365,7 +365,6 @@ int _bt_disable_adapter(void)
                                ret = hal_bluetooth_stop();
                                if (ret < 0) {
                                        BT_ERR("hal_bluetooth_stop() failed. ret: %d", ret);
-                                       return -1;
                                }
                                BT_ERR("Stopped successfully bluetooth hal");
 
@@ -416,7 +415,6 @@ int _bt_disable_adapter(void)
                        ret = hal_bluetooth_stop();
                        if (ret < 0) {
                                BT_ERR("hal_bluetooth_stop() failed. ret: %d", ret);
-                               return -1;
                        }
                        BT_ERR("Stopped successfully bluetooth hal");