aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-desc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2011-06-23 17:15:43 +0200
committerGerd Hoffmann <kraxel@redhat.com>2011-06-23 17:15:55 +0200
commita7fb71d1b2a992a0c4842f06e2b450889e2442ec (patch)
tree681d53f844c67b35a5b34dbc7010db6c26f4ae11 /hw/usb-desc.c
parentc3a90cb120e3b274eb87e65fbdd15d4328e8685f (diff)
usb: ignore USB_DT_DEBUG
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/usb-desc.c')
-rw-r--r--hw/usb-desc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/usb-desc.c b/hw/usb-desc.c
index 0b9d351189..bc6858f62f 100644
--- a/hw/usb-desc.c
+++ b/hw/usb-desc.c
@@ -385,6 +385,10 @@ int usb_desc_get_descriptor(USBDevice *dev, int value, uint8_t *dest, size_t len
trace_usb_desc_other_speed_config(dev->addr, index, len, ret);
break;
+ case USB_DT_DEBUG:
+ /* ignore silently */
+ break;
+
default:
fprintf(stderr, "%s: %d unknown type %d (len %zd)\n", __FUNCTION__,
dev->addr, type, len);