linux_dsm_epyc7002/drivers/net/can
Marc Kleine-Budde 612eef4f47 can: mcp251x: fix generation of error frames
The function "mcp251x_error_skb" is used to generate error frames.
They are identified by the "CAN_ERR_FLAG" in can_id. The function
overwrites the can_id so that the frames show up as normal frames instead
of error frames.

This patch fixes the problem by or'ing the can_id instead of overwriting it.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Tested-by: Jargalan Nermunkh <jargalan.nermunkh@criticallink.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-10-21 04:27:03 -07:00
..
mscan drivers/net/can/mscan/mpc5xxx_can.c: Add of_node_put to avoid memory leak 2010-09-01 10:57:54 -07:00
sja1000 of/device: Replace struct of_device with struct platform_device 2010-08-06 09:25:50 -06:00
usb
at91_can.c
bfin_can.c
dev.c
flexcan.c
janz-ican3.c
Kconfig
Makefile
mcp251x.c can: mcp251x: fix generation of error frames 2010-10-21 04:27:03 -07:00
ti_hecc.c
vcan.c