From d90fda8c0db2812bd28e3c9bb71961f950ee8123 Mon Sep 17 00:00:00 2001 From: stsp Date: Mon, 6 Aug 2018 14:28:13 +0000 Subject: [PATCH] Fix debug message in ieee80211_auth_open(): s/reason/status/ Status codes and reason codes are separate things listed in distinct tables. This debug message made me look at the wrong table and scratch my head. --- sys/net80211/ieee80211_proto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c index 258408b1851..51f1d0cfcc5 100644 --- a/sys/net80211/ieee80211_proto.c +++ b/sys/net80211/ieee80211_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee80211_proto.c,v 1.87 2018/05/23 19:52:03 phessler Exp $ */ +/* $OpenBSD: ieee80211_proto.c,v 1.88 2018/08/06 14:28:13 stsp Exp $ */ /* $NetBSD: ieee80211_proto.c,v 1.8 2004/04/30 23:58:20 dyoung Exp $ */ /*- @@ -816,7 +816,7 @@ ieee80211_auth_open(struct ieee80211com *ic, const struct ieee80211_frame *wh, if (status != 0) { if (ifp->if_flags & IFF_DEBUG) printf("%s: open authentication failed " - "(reason %d) for %s\n", ifp->if_xname, + "(status %d) for %s\n", ifp->if_xname, status, ether_sprintf((u_int8_t *)wh->i_addr3)); if (ni != ic->ic_bss) -- 2.20.1