diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2011-08-29 13:45:25 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2012-01-17 09:44:50 +0100 |
commit | 5b6780d045720848c57a7cf461b49befcd24c691 (patch) | |
tree | 9a98421d3ba3a512bd8c5650f8a07ac7fcbc26ed /usb-linux.c | |
parent | 83a53bbcdae2270656d70c7311d4f7f791532d23 (diff) | |
download | qemu-5b6780d045720848c57a7cf461b49befcd24c691.zip qemu-5b6780d045720848c57a7cf461b49befcd24c691.tar.gz qemu-5b6780d045720848c57a7cf461b49befcd24c691.tar.bz2 |
usb/debug: add usb_ep_dump
Add function to dump endpoint data, for debugging purposes.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'usb-linux.c')
-rw-r--r-- | usb-linux.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usb-linux.c b/usb-linux.c index cb66ef3..2a7b748 100644 --- a/usb-linux.c +++ b/usb-linux.c @@ -1214,6 +1214,9 @@ static int usb_linux_update_endp_table(USBHostDevice *s) i += descriptors[i]; } } +#ifdef DEBUG + usb_ep_dump(&s->dev); +#endif return 0; } |