mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-20 02:38:43 +00:00
Resolve vendor id to string.
This commit is contained in:
parent
84662d68e5
commit
6ececd21a6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=360369
@ -267,7 +267,8 @@ static int hci_dump_adv(uint8_t *data, int length)
|
||||
case 0xff:
|
||||
if (elemlen < 2)
|
||||
break;
|
||||
printf("Vendor:%04x:", data[0]|data[1]<<8);
|
||||
printf("Vendor:%s:",
|
||||
hci_manufacturer2str(data[0]|data[1]<<8));
|
||||
for (i = 2; i < MIN(length,elemlen); i++) {
|
||||
printf("%02x ",data[i]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user