aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean O. Stalley <sean.stalley@intel.com>2014-07-03 07:29:48 -0700
committerEvan Huus <eapache@gmail.com>2014-07-04 02:18:17 +0000
commit212df87e7f3c91b36ff355bc6d4db845946d0c72 (patch)
tree79d7d5543889b85c2d1855c077ac20367a57c280
parent4e74546e76fa5fc5251c64af15dc52d4d07859d6 (diff)
(trivial) moved 'is request' comment in dissect_usb_common()
Change-Id: I759f64920284a35ea55bc68624570def51dfd72a Reviewed-on: https://code.wireshark.org/review/2832 Reviewed-by: Evan Huus <eapache@gmail.com>
-rw-r--r--epan/dissectors/packet-usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c
index 8fd40b8a6b..1b259f2ddb 100644
--- a/epan/dissectors/packet-usb.c
+++ b/epan/dissectors/packet-usb.c
@@ -3204,10 +3204,11 @@ dissect_usb_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent,
}
if (usb_conv_info->is_request) {
+ /* this is a request */
+
tvbuff_t *setup_tvb = NULL;
if (usb_conv_info->is_setup) {
- /* this is a request */
type_2 = USB_TYPE(tvb_get_guint8(tvb, offset));