Skip to contentSkip to conversation

staging: vt6656: [BUG] PIPEnsSendBulkOut free bBoolInUse

PATCH New Malcolm Priestley 1 participant 1 message Oct 12, 2012 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: vt6656: [BUG] PIPEnsSendBulkOut free bBoolInUse

Eventually, when there is enough errors we run out of free TX urbs and connection stalls.

---
 drivers/staging/vt6656/usbpipe.c |    1 +
 1 file changed, 1 insertion(+)
drivers/staging/vt6656/usbpipe.c +1 -0
index 609e8fa..b5259db 100644
@@ -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;
Signature · 1 line
1.7.10.4