count packets

This commit is contained in:
Sam Leffler 2009-06-02 00:04:10 +00:00
parent ce62079b6b
commit 13471c2b32
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=193287

View File

@ -127,6 +127,9 @@ static int
monitor_input(struct ieee80211_node *ni, struct mbuf *m, int rssi, int nf)
{
struct ieee80211vap *vap = ni->ni_vap;
struct ifnet *ifp = vap->iv_ifp;
ifp->if_ipackets++;
if (ieee80211_radiotap_active_vap(vap))
ieee80211_radiotap_rx(vap, m);