diff options
| author | Oliver Hartkopp <[email protected]> | 2014-02-28 16:36:20 +0100 |
|---|---|---|
| committer | Marc Kleine-Budde <[email protected]> | 2014-03-07 09:18:21 +0100 |
| commit | b30749fdfb9b72f4b1f03673cb5e45b8d4331188 (patch) | |
| tree | be63b059e8044248ae877243c3b8a2faf02d250a /include/linux | |
| parent | a94bc9c46e8e3e1bb5f707e81fd8c60fd93266e6 (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 <[email protected]>
Acked-by: Stephane Grosjean <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions