Author: sam Date: Mon May 25 16:35:31 2009 New Revision: 192764 URL: http://svn.freebsd.org/changeset/base/192764
Log: do internal bpf tracking only for radiotap DLT's Modified: head/sys/net80211/ieee80211_freebsd.c Modified: head/sys/net80211/ieee80211_freebsd.c ============================================================================== --- head/sys/net80211/ieee80211_freebsd.c Mon May 25 16:34:35 2009 (r192763) +++ head/sys/net80211/ieee80211_freebsd.c Mon May 25 16:35:31 2009 (r192764) @@ -730,10 +730,10 @@ ieee80211_load_module(const char *modnam static eventhandler_tag wlan_bpfevent; static void -bpf_track(void *arg, struct ifnet *ifp, int attach) +bpf_track(void *arg, struct ifnet *ifp, int dlt, int attach) { /* NB: identify vap's by if_start */ - if (ifp->if_start == ieee80211_start) { + if (dlt == DLT_IEEE802_11_RADIO && ifp->if_start == ieee80211_start) { struct ieee80211vap *vap = ifp->if_softc; /* * Track bpf radiotap listener state. We mark the vap _______________________________________________ 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"