We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a069215 commit 9ffd750Copy full SHA for 9ffd750
drivers/net/can/cc770/cc770.c
@@ -706,13 +706,12 @@ static void cc770_tx_interrupt(struct net_device *dev, unsigned int o)
706
return;
707
}
708
709
- can_put_echo_skb(priv->tx_skb, dev, 0);
710
- can_get_echo_skb(dev, 0);
711
-
712
cf = (struct can_frame *)priv->tx_skb->data;
713
stats->tx_bytes += cf->can_dlc;
714
stats->tx_packets++;
715
+ can_put_echo_skb(priv->tx_skb, dev, 0);
+ can_get_echo_skb(dev, 0);
716
priv->tx_skb = NULL;
717
718
netif_wake_queue(dev);
0 commit comments