mirror of
https://github.com/torvalds/linux.git
synced 2024-11-14 16:12:02 +00:00
f8a2da6ec2
After an initial link up the CAN device is in ERROR-ACTIVE mode. Due
to a missing CAN_STATE_STOPPED in gs_can_close() it doesn't change to
STOPPED after a link down:
| ip link set dev can0 up
| ip link set dev can0 down
| ip --details link show can0
| 13: can0: <NOARP,ECHO> mtu 16 qdisc pfifo_fast state DOWN mode DEFAULT group default qlen 10
| link/can promiscuity 0 allmulti 0 minmtu 0 maxmtu 0
| can state ERROR-ACTIVE restart-ms 1000
Add missing assignment of CAN_STATE_STOPPED in gs_can_close().
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
etas_es58x | ||
kvaser_usb | ||
peak_usb | ||
ems_usb.c | ||
esd_usb.c | ||
f81604.c | ||
gs_usb.c | ||
Kconfig | ||
Makefile | ||
mcba_usb.c | ||
ucan.c | ||
usb_8dev.c |