]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
r8152: fix the sw rx checksum is unavailable
authorhayeswang <hayeswang@realtek.com>
Wed, 11 Jan 2017 08:25:34 +0000 (16:25 +0800)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 16 Mar 2017 02:27:23 +0000 (02:27 +0000)
commitc10be27daa453f787b7370df45b85111ab878a88
tree52d578565ea5740afa6f570ee21b9e9b1e5bafe2
parent118a8bfd729e927e62141193b8fea87a26e0eb9d
r8152: fix the sw rx checksum is unavailable

[ Upstream commit 19c0f40d4fca3a47b8f784a627f0467f0138ccc8 ]

Fix the hw rx checksum is always enabled, and the user couldn't switch
it to sw rx checksum.

Note that the RTL_VER_01 only support sw rx checksum only. Besides,
the hw rx checksum for RTL_VER_02 is disabled after
commit b9a321b48af4 ("r8152: Fix broken RX checksums."). Re-enable it.

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/usb/r8152.c