r8152: move setting r8153b_rx_agg_chg_indicate()
authorHayes Wang <hayeswang@realtek.com>
Fri, 28 Apr 2023 08:53:31 +0000 (16:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 May 2023 06:32:04 +0000 (07:32 +0100)
commitcce8334f4aacd9936309a002d4a4de92a07cd2c2
tree0e23b457d1ada25c4040ff8c2171fceff78dd387
parent61b0ad6f58e2066e054c6d4839d67974d2861a7d
r8152: move setting r8153b_rx_agg_chg_indicate()

Move setting r8153b_rx_agg_chg_indicate() for 2.5G devices. The
r8153b_rx_agg_chg_indicate() has to be called after enabling tx/rx.
Otherwise, the coalescing settings are useless.

Fixes: 195aae321c82 ("r8152: support new chips")
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c