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:
committed by
David S. Miller
parent
44e9ad0b5a
commit
4cfa8e45f4
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user