Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xcap-capability-linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • xcap
  • xcap-capability-linux
  • Repository
Switch branch/tag
  • xcap-capability-linux
  • drivers
  • net
  • can
  • dev.c
Find file BlameHistoryPermalink
  • Oliver Hartkopp's avatar
    can: only send bitrate data via netlink when available · b30749fd
    Oliver Hartkopp authored Feb 28, 2014
    
    
    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: default avatarOliver Hartkopp <socketcan@hartkopp.net>
    Acked-by: default avatarStephane Grosjean <s.grosjean@peak-system.com>
    Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
    b30749fd

Replace dev.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.