A call to dbus_message_iter_get_arg_type will cause an assertion since it is called on the wrong type of iterator. --- tools/gatt-service.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/gatt-service.c b/tools/gatt-service.c index 1cf8b3c..6bd5576 100644 --- a/tools/gatt-service.c +++ b/tools/gatt-service.c @@ -515,10 +515,6 @@ static DBusMessage *desc_read_value(DBusConnection *conn, DBusMessage *msg, dbus_message_iter_init_append(reply, &iter); - if (parse_options(&iter, &device)) - return g_dbus_create_error(msg, DBUS_ERROR_INVALID_ARGS, - "Invalid arguments"); - desc_read(desc, &iter); return reply; -- 2.8.3 -- 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