From c4538def97942c6e93c4d0965761fc012c5228d7 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Wed, 2 Sep 2015 23:00:53 +0200 Subject: UNISTIM: fix dissection of some audio commands Bug: 11497 Change-Id: Ifb7aeed83f9ac091349387bc425925d2441d1c06 Reviewed-on: https://code.wireshark.org/review/10365 Reviewed-by: Pascal Quantin --- plugins/unistim/packet-unistim.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugins/unistim') diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index a1b653a307..a509b63b15 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -2211,6 +2211,7 @@ dissect_audio_switch(proto_tree *msg_tree,packet_info *pinfo, /*Select Adjustable Rx Volume*/ proto_tree_add_item(msg_tree,hf_audio_default_rx_vol_id, tvb,offset,1,ENC_BIG_ENDIAN); + offset+=1; break; case 0x21: /*Set APB's Rx Volume Level*/ @@ -2233,11 +2234,13 @@ dissect_audio_switch(proto_tree *msg_tree,packet_info *pinfo, /*Adjust Default Rx Volume(quieter)*/ proto_tree_add_item(msg_tree,hf_audio_default_rx_vol_id, tvb,offset,1,ENC_BIG_ENDIAN); + offset+=1; break; case 0x25: /*Adjust Default Rx Volume(louder)*/ proto_tree_add_item(msg_tree,hf_audio_default_rx_vol_id, tvb,offset,1,ENC_BIG_ENDIAN); + offset+=1; break; case 0x28: /*APB Download*/ -- cgit v1.2.1