From a6cd83e790d1b2414a88885676f44759dab3665c Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Wed, 13 Nov 2019 10:28:02 +0900 Subject: [PATCH] Remove executing bluetooth-stak-up.service before bluez-start Requires=bluetooth-stack-up.servie will be added in bluez-start.service because there is a timing issue between stack-up.service and bluez-start.service although executing stack-up.service logic is located before bluez-start.service. Change-Id: I1243d5e63be86b353b15e292e8341f20008409e4 Signed-off-by: Wootak Jung Signed-off-by: DoHyun Pyun --- bt-core/bt-core-adapter.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/bt-core/bt-core-adapter.c b/bt-core/bt-core-adapter.c index c2b142f..7582638 100644 --- a/bt-core/bt-core-adapter.c +++ b/bt-core/bt-core-adapter.c @@ -211,12 +211,6 @@ static int __bt_stack_up(void) return -1; } - ret = __bt_call_systemact_service(BT_SYSTEMACT_STACK_UP); - if (ret < 0) { - BT_ERR("Failed to call systemact service"); - return -1; - } - /* activate Bluez */ ret = __bt_call_systemact_service(BT_SYSTEMACT_BLUEZ_START); if (ret < 0) { -- 2.7.4