diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-08 06:54:48 +0300 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-08 06:54:48 +0300 |
commit | 3133c5e896c0b2509e72ae0c2cb9452c80d47f46 (patch) | |
tree | ae8af7e85d0a7c402cca7d31eac2935897e1d698 /drivers/net/wireless/prism54/islpci_eth.c | |
parent | 6b995751c2e851d2bc9c277b5884d0adb519e31d (diff) | |
parent | b69a3aa85cb7bda2eb6c5932a62c1337d0d6612c (diff) | |
download | linux-3133c5e896c0b2509e72ae0c2cb9452c80d47f46.tar.xz |
Merge git://git.tuxdriver.com/git/netdev-jwl
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 fc1eb3564832..a92ce3af3fa9 100644 --- a/drivers/net/wireless/prism54/islpci_eth.c +++ b/drivers/net/wireless/prism54/islpci_eth.c @@ -227,17 +227,17 @@ islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) priv->data_low_tx_full = 1; } + /* set the transmission time */ + ndev->trans_start = jiffies; + priv->statistics.tx_packets++; + priv->statistics.tx_bytes += skb->len; + /* trigger the device */ islpci_trigger(priv); /* unlock the driver code */ spin_unlock_irqrestore(&priv->slock, flags); - /* set the transmission time */ - ndev->trans_start = jiffies; - priv->statistics.tx_packets++; - priv->statistics.tx_bytes += skb->len; - return 0; drop_free: |