ChangeSet 1.1722.97.56, 2004/06/08 16:10:24-07:00, [EMAIL PROTECTED]
[PATCH] USB: Initialize endpoint autoconfig in g_file_storage
This one-line patch corrects a simple problem in the g_file_storage
driver. It neglected to initialize the endpoint-autoconfiguration library
before using it. Please apply.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
drivers/usb/gadget/file_storage.c | 1 +
1 files changed, 1 insertion(+)
diff -Nru a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c
--- a/drivers/usb/gadget/file_storage.c Fri Jun 18 10:58:02 2004
+++ b/drivers/usb/gadget/file_storage.c Fri Jun 18 10:58:02 2004
@@ -3834,6 +3834,7 @@
}
/* Find all the endpoints we will use */
+ usb_ep_autoconfig_reset(gadget);
ep = usb_ep_autoconfig(gadget, &fs_bulk_in_desc);
if (!ep)
goto autoconf_fail;
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel