summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/controller
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb2/controller')
-rw-r--r--sys/dev/usb2/controller/ehci2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb2/controller/ehci2.c b/sys/dev/usb2/controller/ehci2.c
index 48f7da6..f55e834 100644
--- a/sys/dev/usb2/controller/ehci2.c
+++ b/sys/dev/usb2/controller/ehci2.c
@@ -262,7 +262,7 @@ ehci_init(ehci_softc_t *sc)
USB_BUS_UNLOCK(&sc->sc_bus);
if (err) {
device_printf(sc->sc_bus.bdev, "reset timeout\n");
- return (error);
+ return (err);
}
/*
* use current frame-list-size selection 0: 1024*4 bytes 1: 512*4
OpenPOWER on IntegriCloud