Greg:

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.

Alan Stern



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

===== drivers/usb/gadget/file_storage.c 1.9 vs edited =====
--- 1.9/drivers/usb/gadget/file_storage.c       Sat May 15 11:48:05 2004
+++ edited/drivers/usb/gadget/file_storage.c    Tue Jun  8 11:03:07 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: 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