From owner-svn-src-all@FreeBSD.ORG Sat Apr 24 23:32:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24689106566B; Sat, 24 Apr 2010 23:32:25 +0000 (UTC) (envelope-from weongyo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 145908FC12; Sat, 24 Apr 2010 23:32:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3ONWOIS079260; Sat, 24 Apr 2010 23:32:24 GMT (envelope-from weongyo@svn.freebsd.org) Received: (from weongyo@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3ONWO7g079258; Sat, 24 Apr 2010 23:32:24 GMT (envelope-from weongyo@svn.freebsd.org) Message-Id: <201004242332.o3ONWO7g079258@svn.freebsd.org> From: Weongyo Jeong Date: Sat, 24 Apr 2010 23:32:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r207176 - head/sys/dev/bwn X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Apr 2010 23:32:25 -0000 Author: weongyo Date: Sat Apr 24 23:32:24 2010 New Revision: 207176 URL: http://svn.freebsd.org/changeset/base/207176 Log: ifp->if_ipackets++ when RX packet interrupts are occurred. MFC after: 3 days Modified: head/sys/dev/bwn/if_bwn.c Modified: head/sys/dev/bwn/if_bwn.c ============================================================================== --- head/sys/dev/bwn/if_bwn.c Sat Apr 24 23:20:51 2010 (r207175) +++ head/sys/dev/bwn/if_bwn.c Sat Apr 24 23:32:24 2010 (r207176) @@ -9368,6 +9368,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);