r8152: fix the rx early size of RTL8153
authorhayeswang <hayeswang@realtek.com>
Mon, 20 Mar 2017 08:13:45 +0000 (16:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 17:50:36 +0000 (10:50 -0700)
commitb20cb60e2b865638459e6ec82ad3536d3734e555
treec08d3fc6160432be05d87e801a86b35a39ff0b53
parent210c4f70b4c630b27f0840c8043c138c955edc9e
r8152: fix the rx early size of RTL8153

revert commit a59e6d815226 ("r8152: correct the rx early size") and
fix the rx early size as

(rx buffer size - rx packet size - rx desc size - alignment) / 4

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