]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
wtap: remove some obsolete radiotap(9) code
authoravos <avos@FreeBSD.org>
Thu, 22 Oct 2015 15:20:33 +0000 (15:20 +0000)
committeravos <avos@FreeBSD.org>
Thu, 22 Oct 2015 15:20:33 +0000 (15:20 +0000)
This code is not needed since r192468.

Approved by: adrian (mentor)
Differential Revision: https://reviews.freebsd.org/D3975

sys/dev/wtap/if_wtap.c

index 847ffcb5a034bb9d3a0c869d538f8f196f85026c..2c58ad9c94a81f49e2ceb7d8dbc87c53f896fe8a 100644 (file)
@@ -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);
                }