From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> advertise.data when no parameter is given shall print what is set on ad.data not the ad.manufacturer which is a different field set by advertise.manufacturer. --- client/advertising.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/advertising.c b/client/advertising.c index 097b9437f794..fb9b049fde78 100644 --- a/client/advertising.c +++ b/client/advertising.c @@ -760,7 +760,7 @@ void ad_advertise_data(DBusConnection *conn, int argc, char *argv[]) struct ad_data data; if (argc < 2 || !strlen(argv[1])) { - if (ad.manufacturer.data.len) { + if (ad.data.data.len) { bt_shell_printf("Type: 0x%02x\n", ad.data.type); bt_shell_hexdump(ad.data.data.data, ad.data.data.len); } -- 2.37.3