aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2014-02-28 10:36:20 -0500
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-03-07 03:18:21 -0500
commitb30749fdfb9b72f4b1f03673cb5e45b8d4331188 (patch)
treebe63b059e8044248ae877243c3b8a2faf02d250a /include/uapi/linux
parenta94bc9c46e8e3e1bb5f707e81fd8c60fd93266e6 (diff)
can: only send bitrate data via netlink when available
When setting the bitrate both can_calc_bittiming() and can_fixup_bittiming() lead to the bitrate variable to be set, when a proper bit timing is available. Only then the bitrate configuration is stored for the device, so checking for priv->bittiming.bitrate is always sufficient. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Acked-by: Stephane Grosjean <s.grosjean@peak-system.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions