summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2006-05-28 01:07:46 +0000
committeriedowse <iedowse@FreeBSD.org>2006-05-28 01:07:46 +0000
commit5d7b1d18c7dbf30637430a42f3a60ecb7fc9d2a8 (patch)
tree58e223108c2674421ded78a64cd8e4430078306a /sys/dev/usb
parent8e77574896121b2e7b9100127ece8d86b5782295 (diff)
downloadFreeBSD-src-5d7b1d18c7dbf30637430a42f3a60ecb7fc9d2a8.zip
FreeBSD-src-5d7b1d18c7dbf30637430a42f3a60ecb7fc9d2a8.tar.gz
Fix a harmless typo where the software pointer in the dummy QH for
control transfers did not match the hardware pointer.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/uhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/uhci.c b/sys/dev/usb/uhci.c
index aed035c..c7e9f0b 100644
--- a/sys/dev/usb/uhci.c
+++ b/sys/dev/usb/uhci.c
@@ -492,7 +492,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);
OpenPOWER on IntegriCloud