From: avos Date: Thu, 22 Oct 2015 15:20:33 +0000 (+0000) Subject: wtap: remove some obsolete radiotap(9) code X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=095675d1deed11f720eadb50c7b74be47a5ff52e;p=people%2Fliuw%2Ffreebsd.git wtap: remove some obsolete radiotap(9) code This code is not needed since r192468. Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D3975 --- diff --git a/sys/dev/wtap/if_wtap.c b/sys/dev/wtap/if_wtap.c index 847ffcb5a03..2c58ad9c94a 100644 --- a/sys/dev/wtap/if_wtap.c +++ b/sys/dev/wtap/if_wtap.c @@ -527,15 +527,9 @@ wtap_rx_proc(void *arg, int npending) /* * Sending station is known, dispatch directly. */ -#if 0 - ieee80211_radiotap_rx(ni->ni_vap, m); -#endif type = ieee80211_input(ni, m, 1<<7, 10); ieee80211_free_node(ni); } else { -#if 0 - ieee80211_radiotap_rx_all(ic, m); -#endif type = ieee80211_input_all(ic, m, 1<<7, 10); }