From f4a623d72d1ec5bc17a764230c59197251339fc6 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 5 Aug 2016 14:39:42 +0300 Subject: [PATCH] Revert "core/advertising: Fix ManufaturerData dict type" This reverts commit d4a4c05a66e4c4ec8febdb0cab29c653938ad915, the type was correct since it is the byte array after the key that is being parsed. --- src/advertising.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/advertising.c b/src/advertising.c index 79b6042f8..d2019deb6 100644 --- a/src/advertising.c +++ b/src/advertising.c @@ -302,7 +302,7 @@ static bool parse_advertising_manufacturer_data(GDBusProxy *proxy, dbus_message_iter_recurse(&entry, &value); - if (dbus_message_iter_get_arg_type(&value) != DBUS_TYPE_UINT16) + if (dbus_message_iter_get_arg_type(&value) != DBUS_TYPE_BYTE) goto fail; dbus_message_iter_get_fixed_array(&value, &manuf_data, &len); -- 2.47.3