Author: weongyo
Date: Sat May  1 23:25:53 2010
New Revision: 207486
URL: http://svn.freebsd.org/changeset/base/207486

Log:
  MFC r207176:
    ifp->if_ipackets++ when RX packet interrupts are occurred.

Modified:
  stable/8/sys/dev/bwn/if_bwn.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/sched/   (props changed)

Modified: stable/8/sys/dev/bwn/if_bwn.c
==============================================================================
--- stable/8/sys/dev/bwn/if_bwn.c       Sat May  1 22:10:45 2010        
(r207485)
+++ stable/8/sys/dev/bwn/if_bwn.c       Sat May  1 23:25:53 2010        
(r207486)
@@ -9413,6 +9413,8 @@ bwn_rxeof(struct bwn_mac *mac, struct mb
        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);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to