diff options
author | weongyo <weongyo@FreeBSD.org> | 2010-04-24 23:32:24 +0000 |
---|---|---|
committer | weongyo <weongyo@FreeBSD.org> | 2010-04-24 23:32:24 +0000 |
commit | 819559822c8243b4df61561a96ce3e4d5c991461 (patch) | |
tree | 451444dfa8ae47ae796f1d5fb5e1059e4b6775c9 /sys/dev/bwn | |
parent | 2934027caac0f7153a53a89891140c2d253ed318 (diff) | |
download | FreeBSD-src-819559822c8243b4df61561a96ce3e4d5c991461.zip FreeBSD-src-819559822c8243b4df61561a96ce3e4d5c991461.tar.gz |
ifp->if_ipackets++ when RX packet interrupts are occurred.
MFC after: 3 days
Diffstat (limited to 'sys/dev/bwn')
-rw-r--r-- | sys/dev/bwn/if_bwn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/bwn/if_bwn.c b/sys/dev/bwn/if_bwn.c index 983f997..5ca5098 100644 --- a/sys/dev/bwn/if_bwn.c +++ b/sys/dev/bwn/if_bwn.c @@ -9368,6 +9368,8 @@ bwn_rxeof(struct bwn_mac *mac, struct mbuf *m, const void *_rxhdr) rssi = rxhdr->phy.abg.rssi; /* XXX incorrect RSSI calculation? */ noise = mac->mac_stats.link_noise; + ifp->if_ipackets++; + BWN_UNLOCK(sc); ni = ieee80211_find_rxnode(ic, wh); |