diff --git a/sys/dev/usb/ohci.c b/sys/dev/usb/ohci.c index 2232fad61a2..86bc3ac20f9 100644 --- a/sys/dev/usb/ohci.c +++ b/sys/dev/usb/ohci.c @@ -542,6 +542,9 @@ ohci_intr(p) u_int32_t intrs, eintrs; ohci_physaddr_t done; + if ((sc == NULL) || (sc->sc_hcca == NULL)) + return (0); + done = sc->sc_hcca->hcca_done_head; if (done != 0) { intrs = OHCI_WDH;