diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/atmel.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/libertas/tx.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/orinoco/main.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/prism54/islpci_eth.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/ray_cs.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/wl3501_cs.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/zd1201.c | 3 |
8 files changed, 3 insertions, 12 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 3edbbcf0f548..c8f7090b27d3 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -865,7 +865,6 @@ static netdev_tx_t start_tx(struct sk_buff *skb, struct net_device *dev) | |||
865 | 865 | ||
866 | /* low bit of first byte of destination tells us if broadcast */ | 866 | /* low bit of first byte of destination tells us if broadcast */ |
867 | tx_update_descriptor(priv, *(skb->data) & 0x01, len + 18, buff, TX_PACKET_TYPE_DATA); | 867 | tx_update_descriptor(priv, *(skb->data) & 0x01, len + 18, buff, TX_PACKET_TYPE_DATA); |
868 | dev->trans_start = jiffies; | ||
869 | dev->stats.tx_bytes += len; | 868 | dev->stats.tx_bytes += len; |
870 | 869 | ||
871 | spin_unlock_irqrestore(&priv->irqlock, flags); | 870 | spin_unlock_irqrestore(&priv->irqlock, flags); |
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 38edad6f24b8..d9b8ee130c45 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c | |||
@@ -229,7 +229,7 @@ static void lbs_tx_timeout(struct net_device *dev) | |||
229 | 229 | ||
230 | lbs_pr_err("tx watch dog timeout\n"); | 230 | lbs_pr_err("tx watch dog timeout\n"); |
231 | 231 | ||
232 | dev->trans_start = jiffies; | 232 | dev->trans_start = jiffies; /* prevent tx timeout */ |
233 | 233 | ||
234 | if (priv->currenttxskb) | 234 | if (priv->currenttxskb) |
235 | lbs_send_tx_feedback(priv, 0); | 235 | lbs_send_tx_feedback(priv, 0); |
diff --git a/drivers/net/wireless/libertas/tx.c b/drivers/net/wireless/libertas/tx.c index 52d244ea3d97..a9bf658659eb 100644 --- a/drivers/net/wireless/libertas/tx.c +++ b/drivers/net/wireless/libertas/tx.c | |||
@@ -147,8 +147,6 @@ netdev_tx_t lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
147 | dev->stats.tx_packets++; | 147 | dev->stats.tx_packets++; |
148 | dev->stats.tx_bytes += skb->len; | 148 | dev->stats.tx_bytes += skb->len; |
149 | 149 | ||
150 | dev->trans_start = jiffies; | ||
151 | |||
152 | if (priv->monitormode) { | 150 | if (priv->monitormode) { |
153 | /* Keep the skb to echo it back once Tx feedback is | 151 | /* Keep the skb to echo it back once Tx feedback is |
154 | received from FW */ | 152 | received from FW */ |
diff --git a/drivers/net/wireless/orinoco/main.c b/drivers/net/wireless/orinoco/main.c index 1d60c7e4392a..884a7779fc5f 100644 --- a/drivers/net/wireless/orinoco/main.c +++ b/drivers/net/wireless/orinoco/main.c | |||
@@ -517,7 +517,6 @@ static netdev_tx_t orinoco_xmit(struct sk_buff *skb, struct net_device *dev) | |||
517 | goto busy; | 517 | goto busy; |
518 | } | 518 | } |
519 | 519 | ||
520 | dev->trans_start = jiffies; | ||
521 | stats->tx_bytes += HERMES_802_3_OFFSET + skb->len; | 520 | stats->tx_bytes += HERMES_802_3_OFFSET + skb->len; |
522 | goto ok; | 521 | goto ok; |
523 | 522 | ||
diff --git a/drivers/net/wireless/prism54/islpci_eth.c b/drivers/net/wireless/prism54/islpci_eth.c index 64585da8a96c..2fc52bc2d7dd 100644 --- a/drivers/net/wireless/prism54/islpci_eth.c +++ b/drivers/net/wireless/prism54/islpci_eth.c | |||
@@ -224,8 +224,6 @@ islpci_eth_transmit(struct sk_buff *skb, struct net_device *ndev) | |||
224 | priv->data_low_tx_full = 1; | 224 | priv->data_low_tx_full = 1; |
225 | } | 225 | } |
226 | 226 | ||
227 | /* set the transmission time */ | ||
228 | ndev->trans_start = jiffies; | ||
229 | ndev->stats.tx_packets++; | 227 | ndev->stats.tx_packets++; |
230 | ndev->stats.tx_bytes += skb->len; | 228 | ndev->stats.tx_bytes += skb->len; |
231 | 229 | ||
diff --git a/drivers/net/wireless/ray_cs.c b/drivers/net/wireless/ray_cs.c index d9c45bfcee61..73972ee76540 100644 --- a/drivers/net/wireless/ray_cs.c +++ b/drivers/net/wireless/ray_cs.c | |||
@@ -941,7 +941,6 @@ static netdev_tx_t ray_dev_start_xmit(struct sk_buff *skb, | |||
941 | case XMIT_MSG_BAD: | 941 | case XMIT_MSG_BAD: |
942 | case XMIT_OK: | 942 | case XMIT_OK: |
943 | default: | 943 | default: |
944 | dev->trans_start = jiffies; | ||
945 | dev_kfree_skb(skb); | 944 | dev_kfree_skb(skb); |
946 | } | 945 | } |
947 | 946 | ||
diff --git a/drivers/net/wireless/wl3501_cs.c b/drivers/net/wireless/wl3501_cs.c index 65dd502eab0d..1e61e6cace90 100644 --- a/drivers/net/wireless/wl3501_cs.c +++ b/drivers/net/wireless/wl3501_cs.c | |||
@@ -1307,7 +1307,7 @@ static void wl3501_tx_timeout(struct net_device *dev) | |||
1307 | printk(KERN_ERR "%s: Error %d resetting card on Tx timeout!\n", | 1307 | printk(KERN_ERR "%s: Error %d resetting card on Tx timeout!\n", |
1308 | dev->name, rc); | 1308 | dev->name, rc); |
1309 | else { | 1309 | else { |
1310 | dev->trans_start = jiffies; | 1310 | dev->trans_start = jiffies; /* prevent tx timeout */ |
1311 | netif_wake_queue(dev); | 1311 | netif_wake_queue(dev); |
1312 | } | 1312 | } |
1313 | } | 1313 | } |
@@ -1326,7 +1326,6 @@ static netdev_tx_t wl3501_hard_start_xmit(struct sk_buff *skb, | |||
1326 | 1326 | ||
1327 | spin_lock_irqsave(&this->lock, flags); | 1327 | spin_lock_irqsave(&this->lock, flags); |
1328 | enabled = wl3501_block_interrupt(this); | 1328 | enabled = wl3501_block_interrupt(this); |
1329 | dev->trans_start = jiffies; | ||
1330 | rc = wl3501_send_pkt(this, skb->data, skb->len); | 1329 | rc = wl3501_send_pkt(this, skb->data, skb->len); |
1331 | if (enabled) | 1330 | if (enabled) |
1332 | wl3501_unblock_interrupt(this); | 1331 | wl3501_unblock_interrupt(this); |
diff --git a/drivers/net/wireless/zd1201.c b/drivers/net/wireless/zd1201.c index 1e2b684f8ed4..ece86a5d3355 100644 --- a/drivers/net/wireless/zd1201.c +++ b/drivers/net/wireless/zd1201.c | |||
@@ -827,7 +827,6 @@ static netdev_tx_t zd1201_hard_start_xmit(struct sk_buff *skb, | |||
827 | } else { | 827 | } else { |
828 | dev->stats.tx_packets++; | 828 | dev->stats.tx_packets++; |
829 | dev->stats.tx_bytes += skb->len; | 829 | dev->stats.tx_bytes += skb->len; |
830 | dev->trans_start = jiffies; | ||
831 | } | 830 | } |
832 | kfree_skb(skb); | 831 | kfree_skb(skb); |
833 | 832 | ||
@@ -845,7 +844,7 @@ static void zd1201_tx_timeout(struct net_device *dev) | |||
845 | usb_unlink_urb(zd->tx_urb); | 844 | usb_unlink_urb(zd->tx_urb); |
846 | dev->stats.tx_errors++; | 845 | dev->stats.tx_errors++; |
847 | /* Restart the timeout to quiet the watchdog: */ | 846 | /* Restart the timeout to quiet the watchdog: */ |
848 | dev->trans_start = jiffies; | 847 | dev->trans_start = jiffies; /* prevent tx timeout */ |
849 | } | 848 | } |
850 | 849 | ||
851 | static int zd1201_set_mac_address(struct net_device *dev, void *p) | 850 | static int zd1201_set_mac_address(struct net_device *dev, void *p) |