summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-20 19:52:55 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-03-20 19:52:55 +0000
commitd5dd4c0246576a171b1067ae098bb751c4f261c6 (patch)
tree8f6d70dca11b949785c90a25d67317272068ad4e /hcid/adapter.c
parent9f18f0a1905bc091f37999bf4cb418cdbcfaedb7 (diff)
Add adapter to agent_create.
Diffstat (limited to 'hcid/adapter.c')
-rw-r--r--hcid/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/adapter.c b/hcid/adapter.c
index 6deb93b5..62b17334 100644
--- a/hcid/adapter.c
+++ b/hcid/adapter.c
@@ -3836,7 +3836,7 @@ static DBusHandlerResult register_agent(DBusConnection *conn,
name = dbus_message_get_sender(msg);
- agent = agent_create(name, path, NULL,
+ agent = agent_create(adapter, name, path, NULL,
(agent_remove_cb) agent_removed, adapter);
if (!agent) {
dbus_message_unref(reply);