svn commit: r187184 - head/lib/libusb20
Andrew Thompson
thompsa at FreeBSD.org
Tue Jan 13 11:06:04 PST 2009
Author: thompsa
Date: Tue Jan 13 19:06:02 2009
New Revision: 187184
URL: http://svn.freebsd.org/changeset/base/187184
Log:
MFp4: //depot/projects/usb at 156092
Make sure all claimed interfaces gets released at close.
Submitted by: Hans Petter Selasky
Modified:
head/lib/libusb20/libusb20.c
Modified: head/lib/libusb20/libusb20.c
==============================================================================
--- head/lib/libusb20/libusb20.c Tue Jan 13 19:05:51 2009 (r187183)
+++ head/lib/libusb20/libusb20.c Tue Jan 13 19:06:02 2009 (r187184)
@@ -486,6 +486,8 @@ libusb20_dev_close(struct libusb20_devic
pdev->is_opened = 0;
+ pdev->claimed_interfaces = 0;
+
return (error);
}
More information about the svn-src-head
mailing list