summaryrefslogtreecommitdiffstats
path: root/hcid/agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/agent.c')
-rw-r--r--hcid/agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/agent.c b/hcid/agent.c
index 15343a4a..f7fdca1d 100644
--- a/hcid/agent.c
+++ b/hcid/agent.c
@@ -332,7 +332,7 @@ static DBusPendingCall *passkey_request_new(struct agent *agent,
DBusPendingCall *call;
message = dbus_message_new_method_call(agent->name, agent->path,
- "org.bluez.Agent", "PasskeyRequest");
+ "org.bluez.Agent", "RequestPasskey");
if (message == NULL) {
error("Couldn't allocate D-Bus message");
return NULL;