OSDN Git Service

monitor: Print manufacturer string from database
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 30 Dec 2012 06:59:24 +0000 (22:59 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Sun, 30 Dec 2012 06:59:24 +0000 (22:59 -0800)
monitor/packet.c

index 7fa8a4c..8e88d25 100644 (file)
@@ -1112,7 +1112,8 @@ static void print_lmp_version(uint8_t lmp_ver, uint16_t lmp_subver)
 
 static void print_manufacturer(uint16_t manufacturer)
 {
-       print_field("Manufacturer: %d", manufacturer);
+       print_field("Manufacturer: %s (%d)",
+                               bt_compidtostr(manufacturer), manufacturer);
 }
 
 static void print_commands(const uint8_t *commands)