From Michal Labedzki:

Bluetooth: Fix registering DUN and SPP

Use correct variable instead of used by HFP.


https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7639

svn path=/trunk/; revision=44835
This commit is contained in:
Anders Broman 2012-09-10 12:07:45 +00:00
parent 4c3e0d28de
commit 1460bb5352
1 changed files with 2 additions and 2 deletions

View File

@ -1088,7 +1088,7 @@ proto_register_btdun(void)
proto_btdun = proto_register_protocol("Bluetooth DUN Packet", "BTDUN", "btdun");
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_bthf, hf, array_length(hf));
proto_register_field_array(proto_btdun, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}
@ -1154,7 +1154,7 @@ proto_register_btspp(void)
proto_btspp = proto_register_protocol("Bluetooth SPP Packet", "BTSPP", "btspp");
/* Required function calls to register the header fields and subtrees used */
proto_register_field_array(proto_bthf, hf, array_length(hf));
proto_register_field_array(proto_btspp, hf, array_length(hf));
proto_register_subtree_array(ett, array_length(ett));
}