From 5da72b4d780781af384dd8451d20f1a652efb28d Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Wed, 8 Feb 2012 20:21:44 +0000 Subject: [PATCH] From Steve Magnani: USB: Endpoint bmAttributes not decoded correctly. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6814 svn path=/trunk/; revision=40939 --- epan/dissectors/packet-usb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/epan/dissectors/packet-usb.c b/epan/dissectors/packet-usb.c index e6bda74db8..f74a64689e 100644 --- a/epan/dissectors/packet-usb.c +++ b/epan/dissectors/packet-usb.c @@ -442,17 +442,17 @@ static const value_string usb_bmAttributes_transfer_vals[] = { static const value_string usb_bmAttributes_sync_vals[] = { {0x00, "No Sync"}, - {0x04, "Asynchronous"}, - {0x08, "Adaptive"}, - {0x0c, "Synchronous"}, + {0x01, "Asynchronous"}, + {0x02, "Adaptive"}, + {0x03, "Synchronous"}, {0,NULL} }; static const value_string usb_bmAttributes_behaviour_vals[] = { {0x00, "Data-Endpoint"}, - {0x10, "Explicit Feedback-Endpoint"}, - {0x20, "Implicit Feedback-Data-Endpoint"}, - {0x30, "Reserved"}, + {0x01, "Explicit Feedback-Endpoint"}, + {0x02, "Implicit Feedback-Data-Endpoint"}, + {0x03, "Reserved"}, {0,NULL} };