diff options
author | 2018-08-06 14:28:13 +0000 | |
---|---|---|
committer | 2018-08-06 14:28:13 +0000 | |
commit | d90fda8c0db2812bd28e3c9bb71961f950ee8123 (patch) | |
tree | bdd36bed153403d0eacfaf10143d5049301a7555 | |
parent | make ifconfig <if> join display the list of networks configured for (diff) | |
download | wireguard-openbsd-d90fda8c0db2812bd28e3c9bb71961f950ee8123.tar.xz wireguard-openbsd-d90fda8c0db2812bd28e3c9bb71961f950ee8123.zip |
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.
-rw-r--r-- | sys/net80211/ieee80211_proto.c | 4 |
1 files 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) |