diff options
author | Ingo van Lil <inguin@gmx.de> | 2012-04-23 22:05:38 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-21 09:39:59 -0700 |
commit | 5d34eea4758c4946c171bd29a835a0e9a4bcb7ab (patch) | |
tree | 76975f76f9406dc3fbaf735232ab9c304f8aef0f /net | |
parent | 78d09e08e97051b3824dca8aa5ceaf15d1295ba2 (diff) | |
download | kernel_samsung_crespo-5d34eea4758c4946c171bd29a835a0e9a4bcb7ab.zip kernel_samsung_crespo-5d34eea4758c4946c171bd29a835a0e9a4bcb7ab.tar.gz kernel_samsung_crespo-5d34eea4758c4946c171bd29a835a0e9a4bcb7ab.tar.bz2 |
asix: Fix tx transfer padding for full-speed USB
[ 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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions