diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2008-06-21 02:40:40 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2008-06-21 02:40:40 +0000 |
commit | d15dd3c08cff33929f9930646ca698205f1977f7 (patch) | |
tree | be8d85732e03e6987ad7eca7afd713081ae7e569 /sys/dev | |
parent | d873219cbc60baab66036ff79b457befe8d1ef60 (diff) |
fix probable cut and paste error when for the virtual QH link.
from netbsd via dragonfly. pointed by theo. ok by many.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/usb/uhci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c index faac19826a3..f6708c47bcc 100644 --- a/sys/dev/usb/uhci.c +++ b/sys/dev/usb/uhci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci.c,v 1.64 2007/11/25 16:40:03 jmc Exp $ */ +/* $OpenBSD: uhci.c,v 1.65 2008/06/21 02:40:39 fgsch Exp $ */ /* $NetBSD: uhci.c,v 1.172 2003/02/23 04:19:26 simonb Exp $ */ /* $FreeBSD: src/sys/dev/usb/uhci.c,v 1.33 1999/11/17 22:33:41 n_hibma Exp $ */ @@ -451,7 +451,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); |