diff options
| author | Wolfgang Grandegger <wg@grandegger.com> | 2017-12-13 19:52:23 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 09:35:24 +0100 |
| commit | a71d6de9718e5fd283038f44fe3ba5fe546bc920 (patch) | |
| tree | a33934d454e73172faa2a4368c789a913e3e2fda /tools/perf/scripts/python | |
| parent | eb91461daa77eb0ddb4c24aa427051f3669ba1f3 (diff) | |
can: gs_usb: fix return value of the "set_bittiming" callback
commit d5b42e6607661b198d8b26a0c30969605b1bf5c7 upstream.
The "set_bittiming" callback treats a positive return value as error!
For that reason "can_changelink()" will quit silently after setting
the bittiming values without processing ctrlmode, restart-ms, etc.
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
