Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Feb 2009 14:16:12 GMT
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 157335 for review
Message-ID:  <200902071416.n17EGCBL068552@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=157335

Change 157335 by hselasky@hselasky_laptop001 on 2009/02/07 14:16:01

	
	libusb20 compat layer: Fix regression issue.

Affected files ...

.. //depot/projects/usb/src/lib/libusb20/libusb20_compat01.c#10 edit

Differences ...

==== //depot/projects/usb/src/lib/libusb20/libusb20_compat01.c#10 (text+ko) ====

@@ -808,7 +808,11 @@
 	if (err)
 		return (-1);
 
-	return (0);
+	/*
+	 * Be compatible with LibUSB from sourceforge and close the
+	 * handle after reset!
+	 */
+	return (usb_close(dev));
 }
 
 const char *



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902071416.n17EGCBL068552>