fe86351074
HCIdump reads raw HCI data coming from and going to a Bluetooth device and prints to screen commands, events and data in a human-readable form. Optionally, the dump can be written to a file rather than parsed, and the dump file can be parsed in a subsequent moment. from jcs@, with some tweaks by me requested by uwe@
13 lines
487 B
Plaintext
13 lines
487 B
Plaintext
$OpenBSD: patch-parser_hci_c,v 1.1.1.1 2008/11/29 09:54:49 jasper Exp $
|
|
--- parser/hci.c.orig Sun Jun 15 07:46:13 2008
|
|
+++ parser/hci.c Tue Aug 12 11:09:49 2008
|
|
@@ -3255,7 +3255,7 @@ static inline void vendor_dump(int level, struct frame
|
|
if (p_filter(FILT_HCI))
|
|
return;
|
|
|
|
- if (frm->dev_id == HCI_DEV_NONE) {
|
|
+ if (frm->dev_id == NULL) {
|
|
uint16_t device = btohs(htons(get_u16(frm)));
|
|
uint16_t proto = btohs(htons(get_u16(frm)));
|
|
uint16_t type = btohs(htons(get_u16(frm)));
|