diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-02-18 21:01:24 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-02-19 05:02:17 +0000 |
commit | 4c1869f4871211b3c7518e4858b8372c27013acc (patch) | |
tree | 93a2aeae7606e4a09e05fef165e4110c865333d3 /epan/dissectors/packet-hci_usb.c | |
parent | f4580ac9edc8b53514ad6dc18130e1cd55df509f (diff) |
Don't call the hci_usb dissector through a dissector table.
It works the same regardless of what flavor of USB metadata there is,
and there's no good reason for any Bluetooth code to know, or care,
about particular flavors of USB metadata.
Add some comments while we're at it.
Change-Id: I6ea2063a015e424fc84a407231e80ef3e2a79c98
Reviewed-on: https://code.wireshark.org/review/14001
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-hci_usb.c')
-rw-r--r-- | epan/dissectors/packet-hci_usb.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/epan/dissectors/packet-hci_usb.c b/epan/dissectors/packet-hci_usb.c index 57105f00d4..f464be73d1 100644 --- a/epan/dissectors/packet-hci_usb.c +++ b/epan/dissectors/packet-hci_usb.c @@ -384,11 +384,6 @@ proto_reg_handoff_hci_usb(void) bthci_evt_handle = find_dissector("bthci_evt"); bthci_acl_handle = find_dissector("bthci_acl"); bthci_sco_handle = find_dissector("bthci_sco"); - - dissector_add_uint("bluetooth.encap", WTAP_ENCAP_USB, hci_usb_handle); - dissector_add_uint("bluetooth.encap", WTAP_ENCAP_USB_LINUX, hci_usb_handle); - dissector_add_uint("bluetooth.encap", WTAP_ENCAP_USB_LINUX_MMAPPED, hci_usb_handle); - dissector_add_uint("bluetooth.encap", WTAP_ENCAP_USBPCAP, hci_usb_handle); } /* |