Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 287484
b: refs/heads/master
c: 7bb4db9
h: refs/heads/master
v: v3
  • Loading branch information
Wolfgang Grandegger authored and Marc Kleine-Budde committed Feb 2, 2012
1 parent a684737 commit 9e1ce7d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6e9d554fa6e481a848358c215f129432262123c0
refs/heads/master: 7bb4db93ae59e0faf810a83a8578f56bc968ab01
4 changes: 3 additions & 1 deletion trunk/drivers/net/can/cc770/cc770.c
Original file line number Diff line number Diff line change
Expand Up @@ -440,12 +440,14 @@ static netdev_tx_t cc770_start_xmit(struct sk_buff *skb, struct net_device *dev)
for (i = 0; i < dlc; i++)
cc770_write_reg(priv, msgobj[mo].data[i], cf->data[i]);

/* Store echo skb before starting the transfer */
can_put_echo_skb(skb, dev, 0);

cc770_write_reg(priv, msgobj[mo].ctrl1,
RMTPND_RES | TXRQST_SET | CPUUPD_RES | NEWDAT_UNC);

stats->tx_bytes += dlc;

can_put_echo_skb(skb, dev, 0);

/*
* HM: We had some cases of repeated IRQs so make sure the
Expand Down

0 comments on commit 9e1ce7d

Please sign in to comment.