forked from osmocom/wireshark
USB: Use the correct API to add iso status field
The field does seem to be an int (kernel/srouce/drivers/usb/mon/mon_bin.c), so item type (FT_INT32) is correct, but was using uint API. Change-Id: I3c45785d18f890c362c96deb06120904ffea2081 Reviewed-on: https://code.wireshark.org/review/38014 Petri-Dish: Martin Mathieson <martin.r.mathieson@googlemail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Martin Mathieson <martin.r.mathieson@googlemail.com>
This commit is contained in:
parent
ab92bb579f
commit
7088a0a3e6
|
@ -4491,7 +4491,7 @@ dissect_usbip_iso_transfer(packet_info *pinfo _U_, proto_tree *urb_tree,
|
|||
if (iso_len > 0)
|
||||
proto_item_append_text(iso_desc_ti, " (%u bytes)", iso_len);
|
||||
|
||||
proto_tree_add_uint(iso_desc_tree, hf_usb_iso_status, tvb, desc_offset, 4, iso_status);
|
||||
proto_tree_add_int(iso_desc_tree, hf_usb_iso_status, tvb, desc_offset, 4, iso_status);
|
||||
desc_offset += 4;
|
||||
|
||||
/* Show the ISO data if we captured them and either the status
|
||||
|
|
Loading…
Reference in New Issue