staging: vt6656: [BUG] set usb_fill_int_urb interval to 1
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 17 Mar 2014 21:15:03 +0000 (21:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:29:50 +0000 (14:29 -0700)
As result of patch
staging: vt6656: [BUG] Fix Warning BOGUS urb xfer, pipe 3 != type 1

has resulted in sluggish TX performance due to interupt inverval
being too long.

Set int_interval to 1 as set in bInterval of endpoint 1.

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

index 7dd885fe2010c3e1e1909a7b43ec13e5be53acf2..3c9323069e01c265f2e88a6eab6e319ff515776c 100644 (file)
@@ -1007,7 +1007,7 @@ static int  device_open(struct net_device *dev)
 
        schedule_delayed_work(&pDevice->second_callback_work, HZ);
 
-       pDevice->int_interval = 100;  /* max 100 microframes */
+       pDevice->int_interval = 1;  /* bInterval is set to 1 */
     pDevice->eEncryptionStatus = Ndis802_11EncryptionDisabled;
 
     pDevice->bIsRxWorkItemQueued = true;