usbvideo: Fix dissection of PROBE infos structure

Refer to USB Device Class Definition for Video Devices
document revision 1.5.

 * bmFramingInfo is 1 byte
 * Cut & Paste error for bMaxVersion label

Change-Id: Ib1221886f864a6ab9dbab70a8e5fca6482bf4267
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>


(cherry picked from commit b6222766cc)
This commit is contained in:
Sylvain Munaut 2020-10-31 10:06:28 +00:00 committed by Wireshark GitLab Utility
parent 006537ad22
commit 78ac817a84
1 changed files with 2 additions and 2 deletions

View File

@ -2746,7 +2746,7 @@ proto_register_usb_vid(void)
{ &hf_usb_vid_probe_framing,
{ "bmFramingInfo", "usbvideo.probe.framing",
FT_UINT16, BASE_HEX, NULL, 0,
FT_UINT8, BASE_HEX, NULL, 0,
NULL, HFILL }
},
@ -2772,7 +2772,7 @@ proto_register_usb_vid(void)
"Min supported payload format version", HFILL }
},
{ &hf_usb_vid_probe_max_ver,
{ "bPreferredVersion", "usbvideo.probe.maxVer",
{ "bMaxVersion", "usbvideo.probe.maxVer",
FT_UINT8, BASE_DEC, NULL, 0,
"Max supported payload format version", HFILL }
},