Message signature is already checked in generic_message(), so there's no need to check again in the callback. --- src/adapter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index 1e2dd02..9d87c6b 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -1321,9 +1321,6 @@ static DBusMessage *list_devices(DBusConnection *conn, DBusMessageIter array_iter; const gchar *dev_path; - if (!dbus_message_has_signature(msg, DBUS_TYPE_INVALID_AS_STRING)) - return btd_error_invalid_args(msg); - reply = dbus_message_new_method_return(msg); if (!reply) return NULL; -- 1.7.10 -- 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