summaryrefslogtreecommitdiffstats
path: root/binding-bluetooth
diff options
context:
space:
mode:
Diffstat (limited to 'binding-bluetooth')
-rw-r--r--binding-bluetooth/bluetooth-api.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/binding-bluetooth/bluetooth-api.c b/binding-bluetooth/bluetooth-api.c
index 3da59d9..56248b3 100644
--- a/binding-bluetooth/bluetooth-api.c
+++ b/binding-bluetooth/bluetooth-api.c
@@ -880,7 +880,7 @@ static int init()
event_add("device_removed");
event_add("device_updated");
- return 0;
+ return BluetoothManagerInit();
}
/*
@@ -891,8 +891,7 @@ const struct afb_binding_v2 afbBindingV2 =
.specification = "Application Framework Binder - Bluetooth Manager plugin",
.api = "Bluetooth-Manager",
.verbs = binding_verbs,
- .preinit = init,
- .init = BluetoothManagerInit,
+ .init = init,
};
/***************************** The End Of File ******************************/