summaryrefslogtreecommitdiffstats
path: root/sys/dev/bwn
diff options
context:
space:
mode:
authorweongyo <weongyo@FreeBSD.org>2010-04-24 23:32:24 +0000
committerweongyo <weongyo@FreeBSD.org>2010-04-24 23:32:24 +0000
commit819559822c8243b4df61561a96ce3e4d5c991461 (patch)
tree451444dfa8ae47ae796f1d5fb5e1059e4b6775c9 /sys/dev/bwn
parent2934027caac0f7153a53a89891140c2d253ed318 (diff)
downloadFreeBSD-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.c2
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);
OpenPOWER on IntegriCloud