summaryrefslogtreecommitdiffstats
path: root/hcid/service-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'hcid/service-agent.c')
-rw-r--r--hcid/service-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hcid/service-agent.c b/hcid/service-agent.c
index 9c46dd1f..e57c114c 100644
--- a/hcid/service-agent.c
+++ b/hcid/service-agent.c
@@ -254,7 +254,7 @@ static int add_record(DBusConnection *conn, const char *service_path)
const char *method;
int err;
- method = filename ? "AddServiceRecordAsXML" : "AddServiceRecord";
+ method = filename ? "AddServiceRecordFromXML" : "AddServiceRecord";
msg = dbus_message_new_method_call("org.bluez", "/org/bluez",
INTERFACE, method);