Browse Source

staging: vt6656: [BUG] PIPEnsSendBulkOut free bBoolInUse

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>
Malcolm Priestley 12 years ago
parent
commit
02560efe69
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/staging/vt6656/usbpipe.c

+ 1 - 0
drivers/staging/vt6656/usbpipe.c

@@ -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;