aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorPhil Beeson <bugzilla@philbeeson.com>2017-08-23 08:08:55 +0200
committerAnders Broman <a.broman58@gmail.com>2017-08-23 18:42:15 +0000
commitdd83b24f222a2a935cad3b6a646fecaf6790afbd (patch)
treec0ed9f017bd6d845de0841b834bfd71f32aedb8e /epan
parent7e21263d0b86c221d27f17922f46322b08308268 (diff)
BTLE: fix bitmap for link data Hop / Sleep Clock Accuracy
Bug: 13990 Change-Id: I4d5acaf580adbe2c5bff1aac3d2837a8842cd519 Reviewed-on: https://code.wireshark.org/review/23172 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-btle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-btle.c b/epan/dissectors/packet-btle.c
index c68a8d502e..553a3e4e8b 100644
--- a/epan/dissectors/packet-btle.c
+++ b/epan/dissectors/packet-btle.c
@@ -715,8 +715,8 @@ dissect_btle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data)
call_dissector(btcommon_le_channel_map_handle, tvb_new_subset_length(tvb, offset, 5), pinfo, sub_tree);
offset += 5;
- proto_tree_add_item(link_layer_data_tree, hf_link_layer_data_sleep_clock_accuracy, tvb, offset, 1, ENC_LITTLE_ENDIAN);
proto_tree_add_item(link_layer_data_tree, hf_link_layer_data_hop, tvb, offset, 1, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(link_layer_data_tree, hf_link_layer_data_sleep_clock_accuracy, tvb, offset, 1, ENC_LITTLE_ENDIAN);
offset += 1;
if (!pinfo->fd->flags.visited) {
@@ -1440,12 +1440,12 @@ proto_register_btle(void)
},
{ &hf_link_layer_data_hop,
{ "Hop", "btle.link_layer_data.hop",
- FT_UINT8, BASE_DEC, NULL, 0xf8,
+ FT_UINT8, BASE_DEC, NULL, 0x1f,
NULL, HFILL }
},
{ &hf_link_layer_data_sleep_clock_accuracy,
{ "Sleep Clock Accuracy", "btle.link_layer_data.sleep_clock_accuracy",
- FT_UINT8, BASE_DEC | BASE_EXT_STRING, &sleep_clock_accuracy_vals_ext, 0x07,
+ FT_UINT8, BASE_DEC | BASE_EXT_STRING, &sleep_clock_accuracy_vals_ext, 0xe0,
NULL, HFILL }
},
{ &hf_data_header,