summaryrefslogtreecommitdiff
path: root/drivers/net/can/slcan/slcan-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/can/slcan/slcan-core.c')
-rw-r--r--drivers/net/can/slcan/slcan-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/can/slcan/slcan-core.c b/drivers/net/can/slcan/slcan-core.c
index 8d13fdf8c28a..fbb34139daa1 100644
--- a/drivers/net/can/slcan/slcan-core.c
+++ b/drivers/net/can/slcan/slcan-core.c
@@ -594,7 +594,7 @@ static netdev_tx_t slcan_netdev_xmit(struct sk_buff *skb,
{
struct slcan *sl = netdev_priv(dev);
- if (can_dropped_invalid_skb(dev, skb))
+ if (can_dev_dropped_skb(dev, skb))
return NETDEV_TX_OK;
spin_lock(&sl->lock);