Skip to content

Commit

Permalink
staging: vt6656: [BUG] PIPEnsSendBulkOut free bBoolInUse
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Malcolm Priestley authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent c25015c commit 02560ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/vt6656/usbpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 02560ef

Please sign in to comment.