This is a note to let you know that I've just added the patch titled
Subject: USB: net2280: Handle STALLs for 0-length control-IN requests
to my gregkh-2.6 tree. Its filename is
usb-net2280-handle-stalls-for-0-length-control-in-requests.patch
This tree can be found at
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/
>From [EMAIL PROTECTED] Fri Apr 14 13:40:07 2006
Date: Fri, 14 Apr 2006 16:40:00 -0400 (EDT)
From: Alan Stern <[EMAIL PROTECTED]>
To: Greg KH <[EMAIL PROTECTED]>, David Brownell <[EMAIL PROTECTED]>
cc: USB development list <[email protected]>
Subject: USB: net2280: Handle STALLs for 0-length control-IN requests
Message-ID: <[EMAIL PROTECTED]>
This patch (as668) fixes a typo in net2280. The handler for 0-length
control-IN requests should check that the endpoint _isn't_ halted before
sending a 0-length packet.
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
---
drivers/usb/gadget/net2280.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- gregkh-2.6.orig/drivers/usb/gadget/net2280.c
+++ gregkh-2.6/drivers/usb/gadget/net2280.c
@@ -2166,7 +2166,7 @@ static void handle_ep_small (struct net2
ep->stopped = 1;
set_halt (ep);
mode = 2;
- } else if (!req && ep->stopped)
+ } else if (!req && !ep->stopped)
write_fifo (ep, NULL);
}
} else {
Patches currently in gregkh-2.6 which might be from [EMAIL PROTECTED] are
usb/usb-net2280-check-for-shared-irqs.patch
usb/usb-net2280-send-0-length-packets-for-ep0.patch
usb/usb-net2280-handle-stalls-for-0-length-control-in-requests.patch
usb/usb-net2280-set-driver-data-before-it-is-used.patch
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel