aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac802154/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac802154/tx.c')
-rw-r--r--net/mac802154/tx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac802154/tx.c b/net/mac802154/tx.c
index db639140afc..4e09d070995 100644
--- a/net/mac802154/tx.c
+++ b/net/mac802154/tx.c
@@ -99,7 +99,7 @@ netdev_tx_t mac802154_tx(struct mac802154_priv *priv, struct sk_buff *skb,
99 } 99 }
100 100
101 if (skb_cow_head(skb, priv->hw.extra_tx_headroom)) { 101 if (skb_cow_head(skb, priv->hw.extra_tx_headroom)) {
102 dev_kfree_skb(skb); 102 kfree_skb(skb);
103 return NETDEV_TX_OK; 103 return NETDEV_TX_OK;
104 } 104 }
105 105