diff options
Diffstat (limited to 'drivers/net/3c505.c')
-rw-r--r-- | drivers/net/3c505.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/net/3c505.c b/drivers/net/3c505.c index 8d584f5fd02d..88d766ee0e1b 100644 --- a/drivers/net/3c505.c +++ b/drivers/net/3c505.c | |||
@@ -1055,7 +1055,7 @@ static void elp_timeout(struct net_device *dev) | |||
1055 | (stat & ACRF) ? "interrupt" : "command"); | 1055 | (stat & ACRF) ? "interrupt" : "command"); |
1056 | if (elp_debug >= 1) | 1056 | if (elp_debug >= 1) |
1057 | pr_debug("%s: status %#02x\n", dev->name, stat); | 1057 | pr_debug("%s: status %#02x\n", dev->name, stat); |
1058 | dev->trans_start = jiffies; | 1058 | dev->trans_start = jiffies; /* prevent tx timeout */ |
1059 | dev->stats.tx_dropped++; | 1059 | dev->stats.tx_dropped++; |
1060 | netif_wake_queue(dev); | 1060 | netif_wake_queue(dev); |
1061 | } | 1061 | } |
@@ -1093,11 +1093,6 @@ static netdev_tx_t elp_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1093 | if (elp_debug >= 3) | 1093 | if (elp_debug >= 3) |
1094 | pr_debug("%s: packet of length %d sent\n", dev->name, (int) skb->len); | 1094 | pr_debug("%s: packet of length %d sent\n", dev->name, (int) skb->len); |
1095 | 1095 | ||
1096 | /* | ||
1097 | * start the transmit timeout | ||
1098 | */ | ||
1099 | dev->trans_start = jiffies; | ||
1100 | |||
1101 | prime_rx(dev); | 1096 | prime_rx(dev); |
1102 | spin_unlock_irqrestore(&adapter->lock, flags); | 1097 | spin_unlock_irqrestore(&adapter->lock, flags); |
1103 | netif_start_queue(dev); | 1098 | netif_start_queue(dev); |