USB: usbtest fix endless loop in unlink tests.
commit3b6c023f831e3179c42bbcff189c73628cd5ea4c
authorMartin Fuzzey <mfuzzey@gmail.com>
Thu, 4 Jun 2009 21:20:38 +0000 (4 23:20 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Jun 2009 04:44:48 +0000 (15 21:44 -0700)
tree491881253c6cf921e16695988efe10e2a92ebe2f
parente60c65d35951ef3527596442338c371ea16d55ed
USB: usbtest fix endless loop in unlink tests.

In tests 11 and 12 if the URB completes with an error status (eg babble)
the asynchrous unlink entered an endless loop trying to unlink
a non resubmitted URB.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/misc/usbtest.c