![]() can_restart() expects CMD_START_CHIP to set the error state to
ERROR_ACTIVE as it calls netif_carrier_on() immediately afterwards.
Otherwise the user may immediately trigger restart again and hit a
BUG_ON() in can_restart().
Fix kvaser_usb_leaf set_mode(CMD_START_CHIP) to set the expected state.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
etas_es58x | ||
kvaser_usb | ||
peak_usb | ||
Kconfig | ||
Makefile | ||
ems_usb.c | ||
esd_usb.c | ||
gs_usb.c | ||
mcba_usb.c | ||
ucan.c | ||
usb_8dev.c |