diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-10-20 00:02:26 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-21 04:27:03 -0700 |
commit | 612eef4f4714d5c0e7127b7b245dbfc444d14a4b (patch) | |
tree | 3b04fca92d4d043163b36fbd8694d025e52c66ea /drivers/net/bonding/bond_3ad.c | |
parent | 5601b2dfae86198667dd6e075a074fbef0c83423 (diff) | |
download | talos-obmc-linux-612eef4f4714d5c0e7127b7b245dbfc444d14a4b.tar.gz talos-obmc-linux-612eef4f4714d5c0e7127b7b245dbfc444d14a4b.zip |
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>
Diffstat (limited to 'drivers/net/bonding/bond_3ad.c')
0 files changed, 0 insertions, 0 deletions