diff options
Diffstat (limited to 'drivers/ieee802154/fakehard.c')
-rw-r--r-- | drivers/ieee802154/fakehard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c index f877f13e3ab3..617549f30ef9 100644 --- a/drivers/ieee802154/fakehard.c +++ b/drivers/ieee802154/fakehard.c | |||
@@ -282,7 +282,7 @@ static int ieee802154_fake_close(struct net_device *dev) | |||
282 | static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb, | 282 | static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb, |
283 | struct net_device *dev) | 283 | struct net_device *dev) |
284 | { | 284 | { |
285 | skb->iif = dev->ifindex; | 285 | skb->skb_iif = dev->ifindex; |
286 | skb->dev = dev; | 286 | skb->dev = dev; |
287 | dev->stats.tx_packets++; | 287 | dev->stats.tx_packets++; |
288 | dev->stats.tx_bytes += skb->len; | 288 | dev->stats.tx_bytes += skb->len; |