diff options
Diffstat (limited to 'drivers/net/wireless/prism54/islpci_eth.c')
-rw-r--r-- | drivers/net/wireless/prism54/islpci_eth.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/drivers/net/wireless/prism54/islpci_eth.c b/drivers/net/wireless/prism54/islpci_eth.c index fc1eb3564832..33d64d2ee53f 100644 --- a/drivers/net/wireless/prism54/islpci_eth.c +++ b/drivers/net/wireless/prism54/islpci_eth.c | |||
@@ -17,7 +17,6 @@ | |||
17 | * | 17 | * |
18 | */ | 18 | */ |
19 | 19 | ||
20 | #include <linux/version.h> | ||
21 | #include <linux/module.h> | 20 | #include <linux/module.h> |
22 | 21 | ||
23 | #include <linux/pci.h> | 22 | #include <linux/pci.h> |
@@ -227,17 +226,17 @@ islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) | |||
227 | priv->data_low_tx_full = 1; | 226 | priv->data_low_tx_full = 1; |
228 | } | 227 | } |
229 | 228 | ||
229 | /* set the transmission time */ | ||
230 | ndev->trans_start = jiffies; | ||
231 | priv->statistics.tx_packets++; | ||
232 | priv->statistics.tx_bytes += skb->len; | ||
233 | |||
230 | /* trigger the device */ | 234 | /* trigger the device */ |
231 | islpci_trigger(priv); | 235 | islpci_trigger(priv); |
232 | 236 | ||
233 | /* unlock the driver code */ | 237 | /* unlock the driver code */ |
234 | spin_unlock_irqrestore(&priv->slock, flags); | 238 | spin_unlock_irqrestore(&priv->slock, flags); |
235 | 239 | ||
236 | /* set the transmission time */ | ||
237 | ndev->trans_start = jiffies; | ||
238 | priv->statistics.tx_packets++; | ||
239 | priv->statistics.tx_bytes += skb->len; | ||
240 | |||
241 | return 0; | 240 | return 0; |
242 | 241 | ||
243 | drop_free: | 242 | drop_free: |