diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-07-21 14:33:07 -0700 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2017-07-24 21:54:26 +0000 |
commit | 76d2404f4500a68e07c0778c3c9bb0d5f0e7c89f (patch) | |
tree | 834227e8c86c56aeea723c5606303a48d5728c8e /binding-bluetooth/bluetooth-api.c | |
parent | 93e0bcdda8298df869b069661d313e53c87a8b33 (diff) |
binding: bluetooth: remove race condition workaround
Workaround that was likely in place to avoid the Settings
applications UI from loading before all binding functionality
was enabled.
Bug-AGL: SPEC-569
Change-Id: I7c4bc7614192cb09cace555acf77f27fbda0c42a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding-bluetooth/bluetooth-api.c')
-rw-r--r-- | binding-bluetooth/bluetooth-api.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/binding-bluetooth/bluetooth-api.c b/binding-bluetooth/bluetooth-api.c index b454277..39acb9a 100644 --- a/binding-bluetooth/bluetooth-api.c +++ b/binding-bluetooth/bluetooth-api.c @@ -948,17 +948,13 @@ const struct afb_binding *afbBindingV1Register (const struct afb_binding_interfa API_Callback.binding_request_confirmation = bt_request_confirmation; BindingAPIRegister(&API_Callback); - BluetoothManagerInit(); - return &binding_description; } -#if 0 int afbBindingV1ServiceInit(struct afb_service service) { - return BluetoothManageInit(); + return BluetoothManagerInit(); } -#endif /***************************** The End Of File ******************************/ |