summaryrefslogtreecommitdiffstats
path: root/hcid
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-03-20 18:26:19 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2008-03-20 18:26:19 +0000
commit9f18f0a1905bc091f37999bf4cb418cdbcfaedb7 (patch)
tree20a12e3fef9c3276ec505443f3da3b4b08d9f63b /hcid
parent0b4f814fa04647e72cd489b674a730fddba4ab9c (diff)
Use correct method name
Diffstat (limited to 'hcid')
-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;