diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-30 16:00:30 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-10-30 16:00:30 +0000 |
commit | cdbed59eff51907f8661e7015dc8b5c2173e910f (patch) | |
tree | 96ced51f0ba70bc067960c979a5243c43d4a52d7 /epan/dissectors/packet-bthci_acl.c | |
parent | 6062ad9bd603eb5deda8b5a3001b47e839928f22 (diff) |
Rev 29427 added packet_add_new_data_source() with a comment indicating that
the data source does not need to be allocated if (!tree).
Rev 30158 took the if (!tree) check out indicating that the check was invalid.
So: (since packet_add_new_data_source() now only calls add_new_data_source()),
remove packet_add_new_data_source().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34717 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-bthci_acl.c')
-rw-r--r-- | epan/dissectors/packet-bthci_acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthci_acl.c b/epan/dissectors/packet-bthci_acl.c index 04c6b35a25..2634faf4fd 100644 --- a/epan/dissectors/packet-bthci_acl.c +++ b/epan/dissectors/packet-bthci_acl.c @@ -213,7 +213,7 @@ dissect_btacl(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } if(mfp && mfp->last_frame==pinfo->fd->num){ next_tvb = tvb_new_child_real_data(tvb, (guint8*)mfp->reassembled, mfp->tot_len, mfp->tot_len); - packet_add_new_data_source(pinfo, btacl_tree, next_tvb, "Reassembled BTHCI ACL"); + add_new_data_source(pinfo, next_tvb, "Reassembled BTHCI ACL"); /* call L2CAP dissector */ if(btl2cap_handle){ |