PERFORCE change 155042 for review

Weongyo Jeong weongyo at FreeBSD.org
Fri Dec 19 22:18:18 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=155042

Change 155042 by weongyo at weongyo_ws on 2008/12/20 06:18:15

	sometimes usbd_set_interface() could return USBD_IN_USE.  It's not
	a error.

Affected files ...

.. //depot/projects/ndisusb/sys/compat/ndis/subr_usbd.c#31 edit

Differences ...

==== //depot/projects/ndisusb/sys/compat/ndis/subr_usbd.c#31 (text+ko) ====

@@ -610,7 +610,7 @@
 		}
 		
 		ret = usbd_set_interface(iface, intf->uii_altset);
-		if (ret != USBD_NORMAL_COMPLETION) {
+		if (ret != USBD_NORMAL_COMPLETION && ret != USBD_IN_USE) {
 			device_printf(dev,
 			    "setting alternate interface failed: %s\n",
 			    usbd_errstr(ret));


More information about the p4-projects mailing list