summaryrefslogtreecommitdiffstats
path: root/sys/net80211
diff options
context:
space:
mode:
authorstsp <stsp@openbsd.org>2020-05-19 18:57:57 +0000
committerstsp <stsp@openbsd.org>2020-05-19 18:57:57 +0000
commit1934f67d20a306af52546ffd57dda869223f938a (patch)
tree9e378a09e148200a84355bd374ff95e5affbbc9d /sys/net80211
parentLibreSSL error message has been improved, adapt syslogd TLS tests. (diff)
downloadwireguard-openbsd-1934f67d20a306af52546ffd57dda869223f938a.tar.xz
wireguard-openbsd-1934f67d20a306af52546ffd57dda869223f938a.zip
Revert previous; Set the ESS capability bit in assoc requests again.
Association to some access points breaks without the ESS capability bit. Apparently I misunderstood something. Reported by krw@ and tb@
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_output.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_output.c b/sys/net80211/ieee80211_output.c
index 8d19281f5c5..1610fbf508a 100644
--- a/sys/net80211/ieee80211_output.c
+++ b/sys/net80211/ieee80211_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_output.c,v 1.130 2020/05/19 08:34:19 stsp Exp $ */
+/* $OpenBSD: ieee80211_output.c,v 1.131 2020/05/19 18:57:57 stsp Exp $ */
/* $NetBSD: ieee80211_output.c,v 1.13 2004/05/31 11:02:55 dyoung Exp $ */
/*-
@@ -1384,7 +1384,7 @@ ieee80211_get_assoc_req(struct ieee80211com *ic, struct ieee80211_node *ni,
return NULL;
frm = mtod(m, u_int8_t *);
- capinfo = 0;
+ capinfo = IEEE80211_CAPINFO_ESS;
if (ic->ic_flags & IEEE80211_F_WEPON)
capinfo |= IEEE80211_CAPINFO_PRIVACY;
if ((ic->ic_flags & IEEE80211_F_SHPREAMBLE) &&