From 1934f67d20a306af52546ffd57dda869223f938a Mon Sep 17 00:00:00 2001 From: stsp Date: Tue, 19 May 2020 18:57:57 +0000 Subject: 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@ --- sys/net80211/ieee80211_output.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net80211') 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) && -- cgit v1.2.3-59-g8ed1b