Date: Thu, 23 Oct 2008 22:00:56 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 151837 for review Message-ID: <200810232200.m9NM0uLw011069@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=151837 Change 151837 by hselasky@hselasky_laptop001 on 2008/10/23 22:00:02 LibUSB01: Bug by bug compatibility. Affected files ... .. //depot/projects/usb/src/lib/libusb20/libusb20_compat01.c#3 edit Differences ... ==== //depot/projects/usb/src/lib/libusb20/libusb20_compat01.c#3 (text+ko) ==== @@ -167,6 +167,13 @@ int err; err = libusb20_dev_open(dev->dev, 16 * 2); + if (err == LIBUSB20_ERROR_BUSY) { + /* + * Workaround buggy USB applications which open the USB + * device multiple times: + */ + return (dev->dev); + } if (err) return (NULL);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810232200.m9NM0uLw011069>