Skip to content
Commit 2a580949 authored by Ingo van Lil's avatar Ingo van Lil Committed by David S. Miller
Browse files

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: default avatarIngo van Lil <inguin@gmx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1ab8be4a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment