git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9edcde
)
can: fix return value from can_get_bittiming()
author
Oliver Hartkopp
<socketcan@hartkopp.net>
Wed, 23 Apr 2014 20:10:55 +0000
(22:10 +0200)
committer
Marc Kleine-Budde
<mkl@pengutronix.de>
Thu, 24 Apr 2014 20:30:39 +0000
(22:30 +0200)
When trying to set a data bitrate on non CAN FD devices the 'ip' tool
answers with:
RTNETLINK answers: Unknown error 524
Rename '-ENOTSUPP' to '-EOPNOTSUPP' so that 'ip' answers correctly:
RTNETLINK answers: Operation not supported
Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
No differences found