aboutsummaryrefslogtreecommitdiffstats
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorOliver Hartkopp <socketcan@hartkopp.net>2014-02-28 16:36:20 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2014-03-07 09:18:21 +0100
commitb30749fdfb9b72f4b1f03673cb5e45b8d4331188 (patch)
treebe63b059e8044248ae877243c3b8a2faf02d250a /include/uapi/linux
parentcan: preserve skbuff protocol in can_put_echo_skb (diff)
downloadlinux-dev-b30749fdfb9b72f4b1f03673cb5e45b8d4331188.tar.xz
linux-dev-b30749fdfb9b72f4b1f03673cb5e45b8d4331188.zip
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