summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2016-06-05 17:11:43 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2016-06-05 17:11:43 +0000
commita61f39736fc0fbc59452333a13318c6e4af55758 (patch)
tree9d070248c8639a5e5f2ebf35818915d53c3d81b0
parent5a5ddec73106153a7e8edcf4e863f3d92bb86e03 (diff)
In netstat, display correct counter for 'no basic MCS set' error.
ok sthen@ tb@
-rw-r--r--usr.bin/netstat/net80211.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/net80211.c b/usr.bin/netstat/net80211.c
index e9dfb333358..f1219ff9e17 100644
--- a/usr.bin/netstat/net80211.c
+++ b/usr.bin/netstat/net80211.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: net80211.c,v 1.15 2016/04/28 14:46:50 stsp Exp $ */
+/* $OpenBSD: net80211.c,v 1.16 2016/06/05 17:11:42 stsp Exp $ */
/*
* Copyright (c) 2005 Reyk Floeter <reyk@openbsd.org>
@@ -117,7 +117,7 @@ net80211_ifstats(char *ifname)
p(is_pbac_errs, "\t%lu pbac error%s\n");
p(is_ht_nego_no_mandatory_mcs, "\t%lu HT negotiation failure%s because "
"peer does not support MCS 0-7\n");
- p(is_ht_nego_no_mandatory_mcs, "\t%lu HT negotiation failure%s because "
+ p(is_ht_nego_no_basic_mcs, "\t%lu HT negotiation failure%s because "
"we do not support basic MCS set\n");
p(is_ht_nego_bad_crypto,
"\t%lu HT negotiation failure%s because peer uses bad crypto\n");