can: mcp251xfd: mcp251xfd_ring_set_ringparam(): assign missing tx_obj_num_coalesce_irq
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 23 Jan 2023 08:03:42 +0000 (09:03 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 2 Feb 2023 09:33:27 +0000 (10:33 +0100)
commit1613fff7a32e1d9e2ac09db73feba0e71a188445
tree0da61f1e674b0fd82dbbddc8771c64944f44a731
parent4f027cba8216f42a18b544842efab134f8b1f9f4
can: mcp251xfd: mcp251xfd_ring_set_ringparam(): assign missing tx_obj_num_coalesce_irq

If the a new ring layout is set, the max coalesced frames for RX and
TX are re-calculated, too. Add the missing assignment of the newly
calculated TX max coalesced frames.

Fixes: 656fc12ddaf8 ("can: mcp251xfd: add TX IRQ coalescing ethtool support")
Link: https://lore.kernel.org/all/20230130154334.1578518-1-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-ethtool.c