Bluetooth: BTLE*: Initialize what initialized was not

Fix unexpected Direction flag pass to BTLE dissector
what caused reassemble of L2CAP not working correctly
(it based on Source/Destination addresses/columns).

Change-Id: I10fb17c29b020f6ca746f7bbccb7527e0ba04624
Reviewed-on: https://code.wireshark.org/review/19084
Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
Michal Labedzki 2016-11-09 12:51:15 +01:00 committed by Michael Mann
parent 5a0bc5f27b
commit 75a5cf9fa0
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ dissect_btle_rf(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
flags = tvb_get_letohs(tvb, 8);
memset(&context, 0, sizeof(context));
context.previous_protocol_data.bluetooth_data = bluetooth_data;
context.aa_category = E_AA_NO_COMMENT;
context.connection_info_valid = 0; /* TODO */