summaryrefslogtreecommitdiffstats
path: root/drivers/ieee802154/fakehard.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee802154/fakehard.c')
-rw-r--r--drivers/ieee802154/fakehard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c
index c1c9697f9fde..96a2959ce877 100644
--- a/drivers/ieee802154/fakehard.c
+++ b/drivers/ieee802154/fakehard.c
@@ -257,7 +257,8 @@ static int ieee802154_fake_close(struct net_device *dev)
return 0;
}
-static int ieee802154_fake_xmit(struct sk_buff *skb, struct net_device *dev)
+static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb,
+ struct net_device *dev)
{
skb->iif = dev->ifindex;
skb->dev = dev;