diff options
author | Maxime Jayat <maxime.jayat@mobile-devices.fr> | 2023-11-06 19:01:58 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2024-02-14 13:53:03 +0100 |
commit | 2aa0a5e65eae27dbd96faca92c84ecbf6f492d42 (patch) | |
tree | 7cf25b429c4ffb4a80e5b3ced9e89cb77f75de64 /net | |
parent | efe7cf828039aedb297c1f9920b638fffee6aabc (diff) |
can: netlink: Fix TDCO calculation using the old data bittiming
The TDCO calculation was done using the currently applied data bittiming,
instead of the newly computed data bittiming, which means that the TDCO
had an invalid value unless setting the same data bittiming twice.
Fixes: d99755f71a80 ("can: netlink: add interface for CAN-FD Transmitter Delay Compensation (TDC)")
Signed-off-by: Maxime Jayat <maxime.jayat@mobile-devices.fr>
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Link: https://lore.kernel.org/all/40579c18-63c0-43a4-8d4c-f3a6c1c0b417@munic.io
Cc: stable@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions