Fix probable cut-n-paste error.
[dragonfly.git] / sys / bus / usb / uhci.c
index fcd5549..abe28dd 100644 (file)
@@ -1,6 +1,6 @@
 /*     $NetBSD: uhci.c,v 1.170 2003/02/19 01:35:04 augustss Exp $      */
 /*     $FreeBSD: src/sys/dev/usb/uhci.c,v 1.162.2.1 2006/03/01 01:59:04 iedowse Exp $  */
-/*     $DragonFly: src/sys/bus/usb/uhci.c,v 1.27 2008/06/10 10:08:11 hasso Exp $       */
+/*     $DragonFly: src/sys/bus/usb/uhci.c,v 1.28 2008/06/12 07:09:31 hasso Exp $       */
 
 /*     Also already incorporated from NetBSD:
  *     $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $
@@ -456,7 +456,7 @@ uhci_init(uhci_softc_t *sc)
        clsqh = uhci_alloc_sqh(sc);
        if (clsqh == NULL)
                return (USBD_NOMEM);
-       clsqh->hlink = bsqh;
+       clsqh->hlink = chsqh;
        clsqh->qh.qh_hlink = htole32(chsqh->physaddr | UHCI_PTR_QH);
        clsqh->elink = NULL;
        clsqh->qh.qh_elink = htole32(UHCI_PTR_T);