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