diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2009-03-20 19:36:36 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-22 05:51:24 (GMT) |
commit | bbfc6b788f63f079fb8eeeb8d397bb1c0a8065a1 (patch) | |
tree | 65b339dc8a068e21495575a5629f7346213e2306 /drivers/net/wireless/libertas/tx.c | |
parent | 6456fffb09a281af2644e73fda26d1eeec325830 (diff) | |
download | linux-fsl-qoriq-bbfc6b788f63f079fb8eeeb8d397bb1c0a8065a1.tar.xz |
libertas: convert to internal net_device_stats
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/libertas/tx.c')
-rw-r--r-- | drivers/net/wireless/libertas/tx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/libertas/tx.c b/drivers/net/wireless/libertas/tx.c index 68bec31..f10aa39 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) skb->len, MRVDRV_ETH_TX_PACKET_BUFFER_SIZE); /* We'll never manage to send this one; drop it and return 'OK' */ - priv->stats.tx_dropped++; - priv->stats.tx_errors++; + dev->stats.tx_dropped++; + dev->stats.tx_errors++; goto free; } @@ -146,8 +146,8 @@ int lbs_hard_start_xmit(struct sk_buff *skb, struct net_device *dev) lbs_deb_tx("%s lined up packet\n", __func__); - priv->stats.tx_packets++; - priv->stats.tx_bytes += skb->len; + dev->stats.tx_packets++; + dev->stats.tx_bytes += skb->len; dev->trans_start = jiffies; |