diff options
Diffstat (limited to 'drivers/ieee802154/fakehard.c')
-rw-r--r-- | drivers/ieee802154/fakehard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ieee802154/fakehard.c b/drivers/ieee802154/fakehard.c index 617549f30ef9..5f67540e669c 100644 --- a/drivers/ieee802154/fakehard.c +++ b/drivers/ieee802154/fakehard.c | |||
@@ -284,13 +284,13 @@ static netdev_tx_t ieee802154_fake_xmit(struct sk_buff *skb, | |||
284 | { | 284 | { |
285 | skb->skb_iif = dev->ifindex; | 285 | skb->skb_iif = dev->ifindex; |
286 | skb->dev = dev; | 286 | skb->dev = dev; |
287 | |||
287 | dev->stats.tx_packets++; | 288 | dev->stats.tx_packets++; |
288 | dev->stats.tx_bytes += skb->len; | 289 | dev->stats.tx_bytes += skb->len; |
289 | 290 | ||
290 | dev->trans_start = jiffies; | ||
291 | |||
292 | /* FIXME: do hardware work here ... */ | 291 | /* FIXME: do hardware work here ... */ |
293 | 292 | ||
293 | dev_kfree_skb(skb); | ||
294 | return NETDEV_TX_OK; | 294 | return NETDEV_TX_OK; |
295 | } | 295 | } |
296 | 296 | ||