commit | 2a5809499e35b53a6044fd34e72b242688b7a862 | [log] [tgz] |
---|---|---|
author | Ingo van Lil <inguin@gmx.de> | Mon Apr 23 22:05:38 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 24 04:11:34 2012 -0400 |
tree | 137a4956069215c6163f999c19f9c3c9fa5d1a1e | |
parent | 1ab8be4a14409c55050db69271631afebac29b5a [diff] |
asix: Fix tx transfer padding for full-speed USB 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>