do internal bpf tracking only for radiotap DLT's
This commit is contained in:
parent
4578aab134
commit
1dcc1a56a6
@ -730,10 +730,10 @@ ieee80211_load_module(const char *modname)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user