summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2009-06-29 18:49:40 +0200
committerDavid S. Miller <davem@davemloft.net>2009-07-01 04:46:41 +0200
commiteaea43abf30c8ccb447c190e7c94b46b5f75eae6 (patch)
treef5cd6640188bab54b301b66dc06cd2ef010e1664 /drivers/net/usb
parentipv4: Fix fib_trie rebalancing, part 3 (diff)
downloadlinux-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.tar.xz
linux-eaea43abf30c8ccb447c190e7c94b46b5f75eae6.zip
cdc_eem: Use netdev stats structure
Now that netdev has its own stats structure we should use that instead. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb')
-rw-r--r--drivers/net/usb/cdc_eem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/cdc_eem.c b/drivers/net/usb/cdc_eem.c
index 80e01778dd3b..cd35d50e46d4 100644
--- a/drivers/net/usb/cdc_eem.c
+++ b/drivers/net/usb/cdc_eem.c
@@ -319,7 +319,7 @@ static int eem_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
return crc == crc2;
if (unlikely(crc != crc2)) {
- dev->stats.rx_errors++;
+ dev->net->stats.rx_errors++;
dev_kfree_skb_any(skb2);
} else
usbnet_skb_return(dev, skb2);