diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-29 18:52:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-01 04:46:45 +0200 |
commit | 58e2e7d5913e7a2a6d87ef30d3b52e66b88e6e1d (patch) | |
tree | eddda83f8195dfb7eccf5ec498f0f102c104c357 | |
parent | net1080: Use netdev stats structure (diff) | |
download | linux-58e2e7d5913e7a2a6d87ef30d3b52e66b88e6e1d.tar.xz linux-58e2e7d5913e7a2a6d87ef30d3b52e66b88e6e1d.zip |
rndis_host: 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>
-rw-r--r-- | drivers/net/usb/rndis_host.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c index 1bf243ef950e..2232232b7989 100644 --- a/drivers/net/usb/rndis_host.c +++ b/drivers/net/usb/rndis_host.c @@ -487,7 +487,7 @@ int rndis_rx_fixup(struct usbnet *dev, struct sk_buff *skb) if (unlikely(hdr->msg_type != RNDIS_MSG_PACKET || skb->len < msg_len || (data_offset + data_len + 8) > msg_len)) { - dev->stats.rx_frame_errors++; + dev->net->stats.rx_frame_errors++; devdbg(dev, "bad rndis message %d/%d/%d/%d, len %d", le32_to_cpu(hdr->msg_type), msg_len, data_offset, data_len, skb->len); |