summaryrefslogtreecommitdiffstats
path: root/hcid/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/main.c')
-rw-r--r--hcid/main.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hcid/main.c b/hcid/main.c
index 0fdca81b..56d9facf 100644
--- a/hcid/main.c
+++ b/hcid/main.c
@@ -57,6 +57,7 @@
#include "dbus-service.h"
#include "dbus-database.h"
#include "dbus-hci.h"
+#include "agent.h"
struct hcid_opts hcid;
struct device_opts default_device;
@@ -890,6 +891,8 @@ int main(int argc, char *argv[])
init_adapters();
+ agent_init();
+
if (experimental)
hcid_dbus_set_experimental();
@@ -931,6 +934,8 @@ int main(int argc, char *argv[])
free_device_opts();
+ agent_exit();
+
hcid_dbus_exit();
notify_close();