aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/tx.c')
-rw-r--r--drivers/net/wireless/libertas/tx.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/tx.c b/drivers/net/wireless/libertas/tx.c
index 68bec31ae03b..f10aa39a6b68 100644
--- a/drivers/net/wireless/libertas/tx.c
+++ b/drivers/net/wireless/libertas/tx.c
@@ -82,8 +82,8 @@ int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
82 skb->len, MRVDRV_ETH_TX_PACKET_BUFFER_SIZE); 82 skb->len, MRVDRV_ETH_TX_PACKET_BUFFER_SIZE);
83 /* We'll never manage to send this one; drop it and return 'OK' */ 83 /* We'll never manage to send this one; drop it and return 'OK' */
84 84
85 priv->stats.tx_dropped++; 85 dev->stats.tx_dropped++;
86 priv->stats.tx_errors++; 86 dev->stats.tx_errors++;
87 goto free; 87 goto free;
88 } 88 }
89 89
@@ -146,8 +146,8 @@ int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev)
146 146
147 lbs_deb_tx("%s lined up packet\n", __func__); 147 lbs_deb_tx("%s lined up packet\n", __func__);
148 148
149 priv->stats.tx_packets++; 149 dev->stats.tx_packets++;
150 priv->stats.tx_bytes += skb->len; 150 dev->stats.tx_bytes += skb->len;
151 151
152 dev->trans_start = jiffies; 152 dev->trans_start = jiffies;
153 153