diff options
author | 2008-06-21 02:40:39 +0000 | |
---|---|---|
committer | 2008-06-21 02:40:39 +0000 | |
commit | 774f087880ebcd96ea11ea3d0ca9e84660edb484 (patch) | |
tree | a58e6e369cc93aa4a869e5bedfe1fbf3f1746ad3 | |
parent | Only do state key linking on the outbound path. (diff) | |
download | wireguard-openbsd-774f087880ebcd96ea11ea3d0ca9e84660edb484.tar.xz wireguard-openbsd-774f087880ebcd96ea11ea3d0ca9e84660edb484.zip |
fix probable cut and paste error when for the virtual QH link.
from netbsd via dragonfly. pointed by theo. ok by many.
-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); |