summaryrefslogtreecommitdiff
path: root/plugins/unistim
diff options
context:
space:
mode:
authorPascal Quantin <pascal.quantin@gmail.com>2015-09-02 23:00:53 +0200
committerPascal Quantin <pascal.quantin@gmail.com>2015-09-02 21:03:58 +0000
commitc4538def97942c6e93c4d0965761fc012c5228d7 (patch)
treeb2181cb0d3b7e8f673d96244fa9ad8d4dc293f4e /plugins/unistim
parent7abd84216a36b96993d62f97c46bc72f4f9f4ec1 (diff)
downloadwireshark-c4538def97942c6e93c4d0965761fc012c5228d7.tar.gz
UNISTIM: fix dissection of some audio commands
Bug: 11497 Change-Id: Ifb7aeed83f9ac091349387bc425925d2441d1c06 Reviewed-on: https://code.wireshark.org/review/10365 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'plugins/unistim')
-rw-r--r--plugins/unistim/packet-unistim.c3
1 files changed, 3 insertions, 0 deletions
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*/