ChangeSet 1.2181.4.15, 2005/03/17 17:35:05-08:00, [EMAIL PROTECTED]

        [PATCH] USB: net2280 reports correct dequeue status
        
        Minor bugfix to net2280:  don't return incorrect dequeue() status.
        
        Signed-off-by: David Brownell <[EMAIL PROTECTED]>
        Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>



 net2280.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/gadget/net2280.c b/drivers/usb/gadget/net2280.c
--- a/drivers/usb/gadget/net2280.c      2005-03-30 15:07:18 -08:00
+++ b/drivers/usb/gadget/net2280.c      2005-03-30 15:07:18 -08:00
@@ -1270,7 +1270,7 @@
        }
 
        spin_unlock_irqrestore (&ep->dev->lock, flags);
-       return req ? 0 : -EOPNOTSUPP;
+       return 0;
 }
 
 /*-------------------------------------------------------------------------*/
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to