summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-12-18 11:15:03 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-12-18 11:15:03 +0000
commit2c1cc480e5a58b0f4bad7b4eb0d2f1339a600c9e (patch)
tree6d0e8f5225331036e988a5afae32cf6009fdbdf1
parent36f99d0b51ce341dd3f5639b0608f1e2e5d8aa94 (diff)
Remove duplicated lines of code introduced in my previous tcpdump commit.
Noticed by claudio@
-rw-r--r--usr.sbin/tcpdump/print-802_11.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/tcpdump/print-802_11.c b/usr.sbin/tcpdump/print-802_11.c
index 73332b0d48d..b6c34d35f5f 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.36 2016/12/18 10:38:01 stsp Exp $ */
+/* $OpenBSD: print-802_11.c,v 1.37 2016/12/18 11:15:02 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -1106,9 +1106,6 @@ ieee802_11_radio_if_print(u_char *user, const struct pcap_pkthdr *h,
else if (flags & IEEE80211_CHAN_DYN &&
flags & IEEE80211_CHAN_2GHZ)
printf(", 11g");
- else if (flags & IEEE80211_CHAN_DYN &&
- flags & IEEE80211_CHAN_2GHZ)
- printf(", 11g");
else if (flags & IEEE80211_CHAN_CCK &&
flags & IEEE80211_CHAN_2GHZ)
printf(", 11b");