diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-21 08:54:58 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-08-21 08:54:58 +0000 |
commit | 46b2bfea1a997ffacc4c46c53532681efdfa4a52 (patch) | |
tree | b1b86d2b9b0335b5b940ebeecb7f07f554b1be83 /hcid/dbus-error.c | |
parent | a40e1911412ced9760813416f162df9ef4f35c88 (diff) |
Remove UnknownAddress error (since it's unnecessary)
Diffstat (limited to 'hcid/dbus-error.c')
-rw-r--r-- | hcid/dbus-error.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/hcid/dbus-error.c b/hcid/dbus-error.c index 079cedf6..ef59272d 100644 --- a/hcid/dbus-error.c +++ b/hcid/dbus-error.c @@ -90,13 +90,6 @@ DBusHandlerResult error_no_such_adapter(DBusConnection *conn, DBusMessage *msg) "No such adapter")); } -DBusHandlerResult error_unknown_address(DBusConnection *conn, DBusMessage *msg) -{ - return send_reply_and_unref(conn, - dbus_message_new_error(msg, ERROR_INTERFACE ".UnknownAddress", - "Unknown address")); -} - DBusHandlerResult error_not_available(DBusConnection *conn, DBusMessage *msg) { return send_reply_and_unref(conn, @@ -182,6 +175,11 @@ DBusHandlerResult error_bonding_in_progress(DBusConnection *conn, DBusMessage *m return error_in_progress(conn, msg, "Bonding in progress"); } +DBusHandlerResult error_bonding_not_in_progress(DBusConnection *conn, DBusMessage *msg) +{ + return error_not_in_progress(conn, msg, "Bonding is not in progress"); +} + DBusHandlerResult error_authentication_canceled(DBusConnection *conn, DBusMessage *msg) { return send_reply_and_unref(conn, |