diff options
Diffstat (limited to 'drivers/ieee802154/fakehard.c')
-rw-r--r-- | drivers/ieee802154/fakehard.c | 3 |
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) | |||
257 | return 0; | 257 | return 0; |
258 | } | 258 | } |
259 | 259 | ||
260 | static int ieee802154_fake_xmit(struct sk_buff *skb, struct net_device *dev) | 260 | static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb, |
261 | struct net_device *dev) | ||
261 | { | 262 | { |
262 | skb->iif = dev->ifindex; | 263 | skb->iif = dev->ifindex; |
263 | skb->dev = dev; | 264 | skb->dev = dev; |