forked from osmocom/wireshark
MAC-NR: Fix length tracking of SRS ACT/DEACT CE
Change-Id: I21384e5223ed11f6139a370fafd9026a0c444dd1 Reviewed-on: https://code.wireshark.org/review/28996 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
parent
28b7adfadc
commit
0720dedeff
1 changed files with 1 additions and 1 deletions
|
@ -1689,7 +1689,7 @@ static void dissect_ulsch_or_dlsch(tvbuff_t *tvb, packet_info *pinfo, proto_tree
|
|||
tvb, offset, 1, ENC_NA);
|
||||
offset++;
|
||||
if (ad) {
|
||||
guint length = c ? SDU_length / 2 : SDU_length;
|
||||
guint length = c ? (SDU_length-2) / 2 + 2: SDU_length;
|
||||
while (offset - start_offset < length) {
|
||||
proto_tree_add_item(subheader_tree, hf_mac_nr_control_sp_srs_act_deact_f,
|
||||
tvb, offset, 1, ENC_NA);
|
||||
|
|
Loading…
Reference in a new issue