summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-01-12 09:28:11 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-01-12 09:28:11 +0000
commitcd5b009365d52a9aa0b1b087962a978d5755a98d (patch)
treef5f6bc83c712b915b7b9e1e4f7a043a9135d749b /usr.sbin
parent94881a87cf9a49c8d87defff73cd7926f29cdcab (diff)
Remove wireless turbo mode support. It is a non-standard extension
which only worked with ath(4) devices from a decade ago. Diff tested on ath(4) hardware by me to verify that 11a/b modes still work. ok reyk deraadt chris sthen kettenis
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/hostapd/print-802_11.c4
-rw-r--r--usr.sbin/tcpdump/print-802_11.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/usr.sbin/hostapd/print-802_11.c b/usr.sbin/hostapd/print-802_11.c
index feb167743e5..66643834825 100644
--- a/usr.sbin/hostapd/print-802_11.c
+++ b/usr.sbin/hostapd/print-802_11.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-802_11.c,v 1.8 2015/07/15 03:05:00 stsp Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.9 2016/01/12 09:28:10 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -539,8 +539,6 @@ ieee802_11_radio_if_print(u_int8_t *buf, u_int len)
flags & IEEE80211_CHAN_5GHZ)
PRINTF(", 11a");
- if (flags & IEEE80211_CHAN_TURBO)
- PRINTF(", TURBO");
if (flags & IEEE80211_CHAN_XR)
PRINTF(", XR");
}
diff --git a/usr.sbin/tcpdump/print-802_11.c b/usr.sbin/tcpdump/print-802_11.c
index 01a0770a85e..ff8be0ad8da 100644
--- a/usr.sbin/tcpdump/print-802_11.c
+++ b/usr.sbin/tcpdump/print-802_11.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: print-802_11.c,v 1.27 2015/10/13 14:36:15 stsp Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.28 2016/01/12 09:28:10 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -953,8 +953,6 @@ ieee802_11_radio_if_print(u_char *user, const struct pcap_pkthdr *h,
flags & IEEE80211_CHAN_5GHZ)
printf(", 11a");
- if (flags & IEEE80211_CHAN_TURBO)
- printf(", TURBO");
if (flags & IEEE80211_CHAN_XR)
printf(", XR");
}