aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorIngo van Lil <inguin@gmx.de>2012-04-23 18:05:38 -0400
committerLuis Henriques <luis.henriques@canonical.com>2012-05-25 12:24:44 -0400
commit810b0ae772d97a16d3d08728f1fdb0f6d5f99280 (patch)
tree3a28ee8944d784885073b37809d61bc325eafa9a /drivers/net/sky2.c
parent9fc6dd4fa22da45e3a6cad3e06bc6462b23d264d (diff)
asix: Fix tx transfer padding for full-speed USB
BugLink: http://bugs.launchpad.net/bugs/1002880 [ Upstream commit 2a5809499e35b53a6044fd34e72b242688b7a862 ] The asix.c USB Ethernet driver avoids ending a tx transfer with a zero- length packet by appending a four-byte padding to transfers whose length is a multiple of maxpacket. However, the hard-coded 512 byte maxpacket length is valid for high-speed USB only; full-speed USB uses 64 byte packets. Signed-off-by: Ingo van Lil <inguin@gmx.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Diffstat (limited to 'drivers/net/sky2.c')
0 files changed, 0 insertions, 0 deletions