Files
linux/drivers/net/can
Wolfgang Grandegger 02f201f78f can: gs_usb: fix return value of the "set_bittiming" callback
commit d5b42e6607 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>
2018-01-17 09:38:49 +01:00
..
2016-09-19 16:09:05 +02:00