Skip to content
Commit 5176da7e authored by Baruch Siach's avatar Baruch Siach Committed by David S. Miller
Browse files

enc28j60: Fix sporadic packet loss (corrected again)



Packet data read from the RX buffer the when the RSV is at the end of the RX
buffer does not warp around. This causes packet loss, as the actual data is
never read. Fix this by calculating the right packet data location.

Thanks to Shachar Shemesh for suggesting the fix.

Signed-off-by: default avatarBaruch Siach <baruch@tkos.co.il>
Acked-by: default avatarClaudio Lanconelli <lanconelli.claudio@eptar.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd091410
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment