From 7e88afe4f8307c092172ff3c3b76c2f95ab00293 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 26 Nov 2007 13:43:17 +0000 Subject: Update services to new error codes and helper functions --- hcid/dbus-hci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hcid/dbus-hci.c') diff --git a/hcid/dbus-hci.c b/hcid/dbus-hci.c index dcc550b7..1a21af4b 100644 --- a/hcid/dbus-hci.c +++ b/hcid/dbus-hci.c @@ -50,6 +50,7 @@ #include "textfile.h" #include "manager.h" #include "adapter.h" +#include "error.h" #include "dbus-helper.h" #include "dbus-common.h" #include "dbus-error.h" @@ -217,7 +218,7 @@ DBusMessage *new_authentication_return(DBusMessage *msg, uint8_t status) "Authentication Timeout"); case 0x17: /* too frequent pairing attempts */ return dbus_message_new_error(msg, - ERROR_INTERFACE ".RepeatedAttemps", + ERROR_INTERFACE ".RepeatedAttempts", "Repeated Attempts"); case 0x06: -- cgit