From b6222766cce1befd7f696a67df57c9e63ad963b6 Mon Sep 17 00:00:00 2001 From: Sylvain Munaut Date: Sat, 31 Oct 2020 11:06:28 +0100 Subject: [PATCH] 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 --- epan/dissectors/packet-usb-video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/epan/dissectors/packet-usb-video.c b/epan/dissectors/packet-usb-video.c index f782d58483..eeaad8ec9a 100644 --- a/epan/dissectors/packet-usb-video.c +++ b/epan/dissectors/packet-usb-video.c @@ -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 } },