From dc2ec263044b7531c73c156b3f84d9a3ff9ed32c Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 14 Mar 2008 19:31:32 +0000 Subject: initialize agent module --- hcid/main.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hcid/main.c') 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(); -- cgit