From c586f71a5c1a79d41f5e9338144cb704d1316be2 Mon Sep 17 00:00:00 2001 From: Joakim Andersson Date: Sat, 21 Nov 2020 11:08:50 +0100 Subject: [PATCH] bluetooth: Fix dissecting of packets received on LE Coded PHY Fix dissecting of packets received on LE Coded PHY. These packets will include the extra field "coding indicator" after the access address. The assignment of phy in the common bluetooth context was missing, leading to this field being left out and the offset being wrong. --- epan/dissectors/packet-nordic_ble.c | 1 + 1 file changed, 1 insertion(+) diff --git a/epan/dissectors/packet-nordic_ble.c b/epan/dissectors/packet-nordic_ble.c index 0bd9bfa34b..2e49d7f2f2 100644 --- a/epan/dissectors/packet-nordic_ble.c +++ b/epan/dissectors/packet-nordic_ble.c @@ -370,6 +370,7 @@ dissect_flags(tvbuff_t *tvb, gint offset, packet_info *pinfo, proto_tree *tree, } nordic_ble_context->phy = (flags >> 4) & 7; + context->phy = nordic_ble_context->phy; if (context->pdu_type == BTLE_PDU_TYPE_DATA) { if (dir) {