summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-03-14 19:31:32 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-03-14 19:31:32 +0000
commitdc2ec263044b7531c73c156b3f84d9a3ff9ed32c (patch)
treecd05a0a8105a95dfab2637cb8173b9e2a03e91ae /hcid
parent1995ca360f09e8c8d49ee73985638111c3c68d4e (diff)
initialize agent module
Diffstat (limited to 'hcid')
-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();