]> Pileus Git - ~andy/linux/commitdiff
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 609e8fa10b982dd5527f6b041c285cd08992867c..b5259db6e36a17584447bf578d5a1e85ba208191 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;