diff options
author | Guy Harris <guy@alum.mit.edu> | 2015-01-28 01:47:31 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2015-01-28 09:48:06 +0000 |
commit | 15c895dbc48cf5f74694888eb4c2250674922ae6 (patch) | |
tree | 41b37687bfc24f47d2eabf6e237fbeeae8b90e54 /epan/dissectors/packet-mausb.c | |
parent | 53a5e4f6cbc018f6e480591715a863374617d7ad (diff) |
Make the USB header information an enumerated type.
It's not really a bitset, it's a choice of one of four types of USB
pseudo-header. Make it an enum.
Change-Id: I4ea994e1606c23e0a0f08b1b61357eea40a2535e
Reviewed-on: https://code.wireshark.org/review/6830
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-mausb.c')
-rw-r--r-- | epan/dissectors/packet-mausb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-mausb.c b/epan/dissectors/packet-mausb.c index 1e9e6018a3..9ce59fab75 100644 --- a/epan/dissectors/packet-mausb.c +++ b/epan/dissectors/packet-mausb.c @@ -1242,7 +1242,7 @@ dissect_mausb_pkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, usb_conv_info->is_request = mausb_is_transfer_req(&header); usb_trans_info = usb_get_trans_info(tvb, pinfo, tree, - USB_HEADER_IS_MAUSB, usb_conv_info); + USB_HEADER_MAUSB, usb_conv_info); usb_conv_info->usb_trans_info = usb_trans_info; } @@ -1368,7 +1368,7 @@ dissect_mausb_pkt(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if (mausb_has_setup_data(&header)) { offset = dissect_usb_setup_request(pinfo, mausb_tree, tvb, offset, URB_SUBMIT, usb_conv_info, - USB_HEADER_IS_MAUSB); + USB_HEADER_MAUSB); } if (mausb_is_setup_response(&header)) { |