summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_debug.c')
-rw-r--r--sys/dev/usb/usb_debug.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_debug.c b/sys/dev/usb/usb_debug.c
index a39d400..ae0db7f 100644
--- a/sys/dev/usb/usb_debug.c
+++ b/sys/dev/usb/usb_debug.c
@@ -113,10 +113,12 @@ void
usb_dump_queue(struct usb_endpoint *ep)
{
struct usb_xfer *xfer;
+ usb_stream_t x;
printf("usb_dump_queue: endpoint=%p xfer: ", ep);
- TAILQ_FOREACH(xfer, &ep->endpoint_q.head, wait_entry) {
- printf(" %p", xfer);
+ for (x = 0; x != USB_MAX_EP_STREAMS; x++) {
+ TAILQ_FOREACH(xfer, &ep->endpoint_q[x].head, wait_entry)
+ printf(" %p", xfer);
}
printf("\n");
}
OpenPOWER on IntegriCloud