summaryrefslogtreecommitdiff
path: root/drivers/net/can/can327.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/can327.c')
-rw-r--r--drivers/net/can/can327.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/can327.c b/drivers/net/can/can327.c
index 0aa1af31d0fe..094197780776 100644
--- a/drivers/net/can/can327.c
+++ b/drivers/net/can/can327.c
@@ -813,7 +813,7 @@ static netdev_tx_t can327_netdev_start_xmit(struct sk_buff *skb,
struct can327 *elm = netdev_priv(dev);
struct can_frame *frame = (struct can_frame *)skb->data;
- if (can_dropped_invalid_skb(dev, skb))
+ if (can_dev_dropped_skb(dev, skb))
return NETDEV_TX_OK;
/* We shouldn't get here after a hardware fault: