summaryrefslogtreecommitdiff
path: root/drivers/net/can/ctucanfd/ctucanfd_base.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/ctucanfd/ctucanfd_base.c')
-rw-r--r--drivers/net/can/ctucanfd/ctucanfd_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/ctucanfd/ctucanfd_base.c b/drivers/net/can/ctucanfd/ctucanfd_base.c
index b8da15ea6ad9..64c349fd4600 100644
--- a/drivers/net/can/ctucanfd/ctucanfd_base.c
+++ b/drivers/net/can/ctucanfd/ctucanfd_base.c
@@ -600,7 +600,7 @@ static netdev_tx_t ctucan_start_xmit(struct sk_buff *skb, struct net_device *nde
bool ok;
unsigned long flags;
- if (can_dropped_invalid_skb(ndev, skb))
+ if (can_dev_dropped_skb(ndev, skb))
return NETDEV_TX_OK;
if (unlikely(!CTU_CAN_FD_TXTNF(priv))) {