The error message says a lot about what the user need to do, I'm reverting this change and will fix in the next patch series about the DBus error handling. --- src/device.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/device.c b/src/device.c index cfe00c5..b9341a2 100644 --- a/src/device.c +++ b/src/device.c @@ -532,7 +532,9 @@ static DBusMessage *set_blocked(DBusConnection *conn, DBusMessage *msg, case 0: return dbus_message_new_method_return(msg); case EINVAL: - return btd_error_not_supported(msg); + return g_dbus_create_error(msg, + ERROR_INTERFACE ".NotSupported", + "Kernel lacks blacklist support"); default: return g_dbus_create_error(msg, ERROR_INTERFACE ".Failed", "%s", strerror(-err)); -- 1.7.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html