summaryrefslogtreecommitdiffstats
path: root/hcid/adapter.c
diff options
context:
space:
mode:
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);