staging: vt6656: [BUG] PIPEnsSendBulkOut free bBoolInUse
authorMalcolm Priestley <tvboxspy@gmail.com>
Fri, 12 Oct 2012 08:49:15 +0000 (09:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:26:41 +0000 (13:26 -0700)
Eventually, when there is enough errors we run out of free TX urbs and
connection stalls.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/usbpipe.c

index 609e8fa..b5259db 100644 (file)
@@ -660,6 +660,7 @@ PIPEnsSendBulkOut(
        if (status != 0)
        {
                DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"Submit Tx URB failed %d\n", status);
+               pContext->bBoolInUse = FALSE;
                return STATUS_FAILURE;
        }
         return STATUS_PENDING;