[PATCH] USB: net2280: Handle STALLs for 0-length control-IN requests
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 14 Apr 2006 20:40:00 +0000 (16:40 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 27 Apr 2006 17:28:58 +0000 (10:28 -0700)
commita29fccd7993a3d411674e148cb0759a017be3e21
tree039df2f052693147739806ceb8b5f79da9b26710
parentf430c405ca23dd5a9389d1f62dcdeb1fd6ce6024
[PATCH] USB: net2280: Handle STALLs for 0-length control-IN requests

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 <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/net2280.c