Remove executing bluetooth-stak-up.service before bluez-start 47/218647/1 accepted/tizen/unified/20191128.001536 submit/tizen/20191127.050440
authorWootak Jung <wootak.jung@samsung.com>
Wed, 13 Nov 2019 01:28:02 +0000 (10:28 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 26 Nov 2019 09:41:17 +0000 (18:41 +0900)
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 <wootak.jung@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-core/bt-core-adapter.c

index c2b142f..7582638 100644 (file)
@@ -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) {