commit | d482443244b820f03a5a07d1bca6a0f5e2b4804c | [log] [tgz] |
---|---|---|
author | Oliver Hartkopp <socketcan@hartkopp.net> | Wed Apr 23 22:10:55 2014 +0200 |
committer | Marc Kleine-Budde <mkl@pengutronix.de> | Thu Apr 24 22:30:39 2014 +0200 |
tree | c0ac6fbf063907aa48578c039e85090712651568 | |
parent | a9edcdedbd3d8f3ffcd7bdcab5812707a25e554e [diff] |
can: fix return value from can_get_bittiming() 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>