r8152: separate USB_RX_EARLY_AGG
authorhayeswang <hayeswang@realtek.com>
Thu, 12 Feb 2015 06:33:46 +0000 (14:33 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Feb 2015 20:08:43 +0000 (15:08 -0500)
commit464ec10a2d7f09784517040fae8de54a39c2765f
treee957c468d48b33505ce1e459cc3733b9f92d6f95
parentfece13ca005a5f559147e9424321f4b5e01272b4
r8152: separate USB_RX_EARLY_AGG

Separate USB_RX_EARLY_AGG into USB_RX_EARLY_TIMEOUT and USB_RX_EARLY_SIZE.

Replace r8153_set_rx_agg() with r8153_set_rx_early_timeout() and
r8153_set_rx_early_size().

Set the default timeout value according to the USB speed.

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