]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: UHCI: fix obscure bug in enqueue()
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 5 May 2006 20:32:02 +0000 (16:32 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:10 +0000 (15:04 -0700)
commit1d70d3d88b0b2afc58ee47e5478d134ed0190e18
tree87c0ba46d8daa8d4b9af6f54b34b21b52c3fa57e
parent9fb0a5db19e08150d8b8ad2472a23758e6f30f4c
[PATCH] USB: UHCI: fix obscure bug in enqueue()

This patch (as676) fixes a small bug in uhci-hcd's enqueue routine.  When
an URB is unlinked or gets an error and the completion handler queues
another URB for the same endpoint, the queue shouldn't be allowed to start
up again until the handler returns.  Not even if the new URB is the only
one on its queue.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c