A trailing else in the #ifdef CONFIG_USB_NET1080 block that would prevent it from properly filling the bulk URB.
--- linux-2.6.0-test3-mm2/drivers/usb/net/usbnet.c.orig 2003-08-13 20:22:30.386299904 
-0400
+++ linux-2.6.0-test3-mm2/drivers/usb/net/usbnet.c      2003-08-13 20:22:50.122299576 
-0400
@@ -2338,7 +2338,7 @@
                if (!((skb->len + sizeof *trailer) & 0x01))
                        *skb_put (skb, 1) = PAD_BYTE;
                trailer = (struct nc_trailer *) skb_put (skb, sizeof *trailer);
-       } else
+       } 
 #endif /* CONFIG_USB_NET1080 */
 
        usb_fill_bulk_urb (urb, dev->udev, dev->out,

Reply via email to