From Steve Magnani:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Feb 2012 20:21:44 +0000 (20:21 +0000)
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 8 Feb 2012 20:21:44 +0000 (20:21 +0000)
USB: Endpoint bmAttributes not decoded correctly.

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6814

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40939 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-usb.c

index e6bda74..f74a646 100644 (file)
@@ -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}
 };