Date: Fri, 27 Mar 2009 21:41:24 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 159928 for review Message-ID: <200903272141.n2RLfOxx069596@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=159928 Change 159928 by hselasky@hselasky_laptop001 on 2009/03/27 21:41:22 USB core: - fix for early explore calls Affected files ... .. //depot/projects/usb/src/sys/dev/usb/usb_hub.c#11 edit Differences ... ==== //depot/projects/usb/src/sys/dev/usb/usb_hub.c#11 (text+ko) ==== @@ -1393,6 +1393,11 @@ DPRINTF("No bus pointer!\n"); return; } + if ((bus->devices == NULL) || + (bus->devices[USB_ROOT_HUB_ADDR] == NULL)) { + DPRINTF("No root HUB\n"); + return; + } if (mtx_owned(&bus->bus_mtx)) { do_unlock = 0; } else {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903272141.n2RLfOxx069596>