aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoakim Andersson <joakim.andersson@nordicsemi.no>2021-06-25 11:39:09 +0200
committerStig Bjørlykke <stig@bjorlykke.org>2021-07-08 07:23:07 +0000
commitde9d5f76ff117c0cdf6e2f39caad8b052cf40170 (patch)
treed61dc8665175d3e78d587832e299b5f5894b7f3f
parent3afd332455ee8a23c2b2b87f452e9299bb5fa0f3 (diff)
bluetooth: Fix sync info in extended advertising header
Fix the sync info field length in extended advertising header set to the wrong length. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
-rw-r--r--epan/dissectors/packet-btle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-btle.c b/epan/dissectors/packet-btle.c
index cdba526b28..9aec96b4cb 100644
--- a/epan/dissectors/packet-btle.c
+++ b/epan/dissectors/packet-btle.c
@@ -1217,7 +1217,7 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
guint16 sf;
/* Sync Info */
- sync_info_item = proto_tree_add_item(ext_header_tree, hf_extended_advertising_sync_info, tvb, offset, 1, ENC_NA);
+ sync_info_item = proto_tree_add_item(ext_header_tree, hf_extended_advertising_sync_info, tvb, offset, 18, ENC_NA);
sync_info_tree = proto_item_add_subtree(sync_info_item, ett_extended_advertising_sync_info);
sf = tvb_get_guint16(tvb, offset, ENC_LITTLE_ENDIAN);