Re: [PATCH] can: dev: alloc_candev_mqs(): add missing default CAN capabilitied
From: Oliver Hartkopp
Date: Fri Jan 16 2026 - 09:51:44 EST
On 16.01.26 14:10, Oliver Hartkopp wrote:
On 16.01.26 13:44, Marc Kleine-Budde wrote:
However, in commit 166e87329ce6 ("can: propagate CAN device capabilities
via ml_priv"), the capabilities of CAN devices are not initialized.
This results in CAN-RAW rejecting all CAN frames on devices directly
after ifup if the user space has not changed the CAN control mode.
Ah! It's about setting the bitrate without changing the control mode.
Sorry. I tested multiple configurations several times but missed the most simple one as initial test :-/
Acked-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>
Tested-by: Oliver Hartkopp <socketcan@xxxxxxxxxxxx>