From: Ingo van Lil Date: Mon, 23 Apr 2012 22:05:38 +0000 (+0000) Subject: asix: Fix tx transfer padding for full-speed USB X-Git-Tag: v3.2.18~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a7052c220cdbfe4e03baed0a5f32f97cbbb7ad7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed