aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/file-btsnoop.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/file-btsnoop.c')
-rw-r--r--epan/dissectors/file-btsnoop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/file-btsnoop.c b/epan/dissectors/file-btsnoop.c
index 7275afe7eb..35eba3887d 100644
--- a/epan/dissectors/file-btsnoop.c
+++ b/epan/dissectors/file-btsnoop.c
@@ -388,9 +388,9 @@ proto_register_btsnoop(void)
void
proto_reg_handoff_btsnoop(void)
{
- hci_h1_handle = find_dissector("hci_h1");
- hci_h4_handle = find_dissector("hci_h4");
- hci_mon_handle = find_dissector("hci_mon");
+ hci_h1_handle = find_dissector_add_dependency("hci_h1", proto_btsnoop);
+ hci_h4_handle = find_dissector_add_dependency("hci_h4", proto_btsnoop);
+ hci_mon_handle = find_dissector_add_dependency("hci_mon", proto_btsnoop);
heur_dissector_add("wtap_file", dissect_btsnoop_heur, "BTSNOOP file", "btsnoop_wtap", proto_btsnoop, HEURISTIC_ENABLE);
}