From owner-svn-src-head@FreeBSD.ORG Thu May 21 15:30:29 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B571065674; Thu, 21 May 2009 15:30:29 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id C7FB58FC13; Thu, 21 May 2009 15:30:29 +0000 (UTC) (envelope-from sam@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4LFUTi0070745; Thu, 21 May 2009 15:30:29 GMT (envelope-from sam@svn.freebsd.org) Received: (from sam@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4LFUT3j070744; Thu, 21 May 2009 15:30:29 GMT (envelope-from sam@svn.freebsd.org) Message-Id: <200905211530.n4LFUT3j070744@svn.freebsd.org> From: Sam Leffler Date: Thu, 21 May 2009 15:30:29 +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: r192541 - head/sys/dev/iwi X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2009 15:30:30 -0000 Author: sam Date: Thu May 21 15:30:29 2009 New Revision: 192541 URL: http://svn.freebsd.org/changeset/base/192541 Log: o remove bpf tap call missed in r192468 o correct rssi taken from rx descriptor; need dbm Modified: head/sys/dev/iwi/if_iwi.c Modified: head/sys/dev/iwi/if_iwi.c ============================================================================== --- head/sys/dev/iwi/if_iwi.c Thu May 21 15:08:03 2009 (r192540) +++ head/sys/dev/iwi/if_iwi.c Thu May 21 15:30:29 2009 (r192541) @@ -1274,7 +1274,7 @@ iwi_frame_intr(struct iwi_softc *sc, str m_adj(m, sizeof (struct iwi_hdr) + sizeof (struct iwi_frame)); - rssi = frame->signal; + rssi = frame->rssi_dbm; nf = -95; if (ieee80211_radiotap_active(ic)) { struct iwi_rx_radiotap_header *tap = &sc->sc_rxtap; @@ -1960,8 +1960,6 @@ iwi_start_locked(struct ifnet *ifp) break; } - BPF_MTAP(ifp, m); - ni = (struct ieee80211_node *) m->m_pkthdr.rcvif; if (iwi_tx_start(ifp, m, ni, ac) != 0) { ieee80211_free_node(ni);