aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/irda-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/irda/irda-usb.c')
-rw-r--r--drivers/net/irda/irda-usb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/irda/irda-usb.c b/drivers/net/irda/irda-usb.c
index 25f21968fa5c..a198946bc54f 100644
--- a/drivers/net/irda/irda-usb.c
+++ b/drivers/net/irda/irda-usb.c
@@ -429,7 +429,7 @@ static netdev_tx_t irda_usb_hard_xmit(struct sk_buff *skb,
429 * do an extra memcpy and increment packet counters... 429 * do an extra memcpy and increment packet counters...
430 * Jean II */ 430 * Jean II */
431 irda_usb_change_speed_xbofs(self); 431 irda_usb_change_speed_xbofs(self);
432 netdev->trans_start = jiffies; 432 netif_trans_update(netdev);
433 /* Will netif_wake_queue() in callback */ 433 /* Will netif_wake_queue() in callback */
434 goto drop; 434 goto drop;
435 } 435 }
@@ -526,7 +526,7 @@ static netdev_tx_t irda_usb_hard_xmit(struct sk_buff *skb,
526 netdev->stats.tx_packets++; 526 netdev->stats.tx_packets++;
527 netdev->stats.tx_bytes += skb->len; 527 netdev->stats.tx_bytes += skb->len;
528 528
529 netdev->trans_start = jiffies; 529 netif_trans_update(netdev);
530 } 530 }
531 spin_unlock_irqrestore(&self->lock, flags); 531 spin_unlock_irqrestore(&self->lock, flags);
532 532