David:

Here's the autoconfiguration initialization patch for the gadget-2.4 
version of g_file_storage.

Alan Stern



Signed-off-by: Alan Stern <[EMAIL PROTECTED]>

--- gadget-2.4/drivers/usb/gadget/file_storage.c        Tue Jun  8 11:53:54 2004
+++ gadget-2.4/drivers/usb/gadget/file_storage.c        Tue Jun  8 11:54:43 2004
@@ -3706,6 +3706,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: GNOME Foundation
Hackers Unite!  GUADEC: The world's #1 Open Source Desktop Event.
GNOME Users and Developers European Conference, 28-30th June in Norway
http://2004/guadec.org
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to