hostap: convert to internal net_device_stats

Use pre-existing net_device_stats in network_device struct.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Stephen Hemminger
2009-03-20 19:36:42 +00:00
committed by David S. Miller
parent 44e9ad0b5a
commit 4cfa8e45f4
5 changed files with 11 additions and 33 deletions

View File

@@ -2262,7 +2262,7 @@ void hostap_rx(struct net_device *dev, struct sk_buff *skb,
if (skb->len < 16)
goto drop;
local->stats.rx_packets++;
dev->stats.rx_packets++;
hdr = (struct ieee80211_hdr *) skb->data;