diff options
author | sam <sam@FreeBSD.org> | 2009-06-08 21:16:06 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-06-08 21:16:06 +0000 |
commit | c73264cfa4ed7bc2c45eff025ba203d7390c7e22 (patch) | |
tree | 7549b25d788433bfffa94d2f8cef223de0faf6c0 /sys/net80211 | |
parent | 62ee07ea6b881d2cf86f2ae761cf3c7b8ee0dde5 (diff) | |
download | FreeBSD-src-c73264cfa4ed7bc2c45eff025ba203d7390c7e22.zip FreeBSD-src-c73264cfa4ed7bc2c45eff025ba203d7390c7e22.tar.gz |
purge dead code
Diffstat (limited to 'sys/net80211')
-rw-r--r-- | sys/net80211/ieee80211_radiotap.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sys/net80211/ieee80211_radiotap.c b/sys/net80211/ieee80211_radiotap.c index 8c69684..fc3dbdc 100644 --- a/sys/net80211/ieee80211_radiotap.c +++ b/sys/net80211/ieee80211_radiotap.c @@ -168,35 +168,6 @@ ieee80211_radiotap_chan_change(struct ieee80211com *ic) } } -#if 0 -static void -dispatch_radiotap(struct ieee80211vap *vap0, struct mbuf *m, - struct ieee80211_radiotap_header *rh) -{ - struct ieee80211com *ic = vap0->iv_ic; - int len = le16toh(rh->it_len); - - if (vap0->iv_flags_ext & IEEE80211_FEXT_BPF) - bpf_mtap2(vap0->iv_rawbpf, rh, len, m); - /* - * Spam monitor mode vaps with unicast frames. Multicast - * frames are handled by passing through ieee80211_input_all - * which distributes copies to the monitor mode vaps to be - * processed above. - */ - if (ic->ic_montaps != 0 && (m->m_flags & M_BCAST) == 0) { - struct ieee80211vap *vap; - TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) { - if (vap != vap0 && - vap->iv_opmode == IEEE80211_M_MONITOR && - (vap->iv_flags_ext & IEEE80211_FEXT_BPF) && - vap->iv_state != IEEE80211_S_INIT) - bpf_mtap2(vap->iv_rawbpf, rh, len, m); - } - } -} -#endif - /* * Distribute radiotap data (+packet) to all monitor mode * vaps with an active tap other than vap0. |