r8152: change rx early size when the mtu is changed
authorhayeswang <hayeswang@realtek.com>
Thu, 12 Feb 2015 06:33:47 +0000 (14:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Feb 2015 20:08:43 +0000 (15:08 -0500)
commit396e2e235af79b39d605ad6259f366e502e21959
treec18049fcd5f0793af6253e879eb1b2b53bb2a4f4
parent464ec10a2d7f09784517040fae8de54a39c2765f
r8152: change rx early size when the mtu is changed

The rx early size is calculated with the mtu, so it has to be
re-calculated when the mtu is changed.

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