summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/ehci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index 363a084f0f3..fcf54efe58c 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ehci.c,v 1.33 2004/12/29 01:52:27 dlg Exp $ */
+/* $OpenBSD: ehci.c,v 1.34 2005/02/28 00:34:09 pascoe Exp $ */
/* $NetBSD: ehci.c,v 1.66 2004/06/30 03:11:56 mycroft Exp $ */
/*
@@ -1230,7 +1230,7 @@ ehci_dump_sqtds(ehci_soft_qtd_t *sqtd)
ehci_dump_sqtd(sqtd);
stop = sqtd->qtd.qtd_next & htole32(EHCI_LINK_TERMINATE);
}
- if (sqtd)
+ if (!stop)
printf("dump aborted, too many TDs\n");
}