aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/pegasus.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/usb/pegasus.c')
-rw-r--r--drivers/net/usb/pegasus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/usb/pegasus.c b/drivers/net/usb/pegasus.c
index 41838773b568..1cd17d274a12 100644
--- a/drivers/net/usb/pegasus.c
+++ b/drivers/net/usb/pegasus.c
@@ -808,7 +808,7 @@ static void write_bulk_callback(struct urb *urb)
808 break; 808 break;
809 } 809 }
810 810
811 net->trans_start = jiffies; 811 net->trans_start = jiffies; /* prevent tx timeout */
812 netif_wake_queue(net); 812 netif_wake_queue(net);
813} 813}
814 814
@@ -909,7 +909,6 @@ static netdev_tx_t pegasus_start_xmit(struct sk_buff *skb,
909 } else { 909 } else {
910 pegasus->stats.tx_packets++; 910 pegasus->stats.tx_packets++;
911 pegasus->stats.tx_bytes += skb->len; 911 pegasus->stats.tx_bytes += skb->len;
912 net->trans_start = jiffies;
913 } 912 }
914 dev_kfree_skb(skb); 913 dev_kfree_skb(skb);
915 914