From 0b8e372afac455042b4e2777e2dee3b9bdb5f48f Mon Sep 17 00:00:00 2001 From: Tobias Svehagen Date: Thu, 16 Jun 2016 15:29:13 +0200 Subject: [PATCH] tools/gatt-service: Do not call parse_options on reply message 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 1cf8b3c0c..6bd55762e 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.47.3