Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 15:30:29 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192541 - head/sys/dev/iwi
Message-ID:  <200905211530.n4LFUT3j070744@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905211530.n4LFUT3j070744>