summaryrefslogtreecommitdiff
path: root/sys/net80211
diff options
context:
space:
mode:
authorPeter Hessler <phessler@cvs.openbsd.org>2018-08-03 10:52:46 +0000
committerPeter Hessler <phessler@cvs.openbsd.org>2018-08-03 10:52:46 +0000
commite994b35eed719f4db7464557d032862343e42634 (patch)
tree70765d2ba8aaf3821958cfa79115b3848cfeae7a /sys/net80211
parent5dbb9c78c903467482113d214d12f983e4e4c6c4 (diff)
revert 1.133 and part of 1.131
the stack doesn't always fill in the paramaters correctly reported by many
Diffstat (limited to 'sys/net80211')
-rw-r--r--sys/net80211/ieee80211_node.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/net80211/ieee80211_node.c b/sys/net80211/ieee80211_node.c
index 5e58ae9694a..d4561bffc06 100644
--- a/sys/net80211/ieee80211_node.c
+++ b/sys/net80211/ieee80211_node.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ieee80211_node.c,v 1.135 2018/07/30 11:09:17 stsp Exp $ */
+/* $OpenBSD: ieee80211_node.c,v 1.136 2018/08/03 10:52:45 phessler Exp $ */
/* $NetBSD: ieee80211_node.c,v 1.14 2004/05/09 09:18:47 dyoung Exp $ */
/*-
@@ -389,13 +389,6 @@ ieee80211_match_ess(struct ieee80211com *ic)
continue;
}
- if ((ess->rsnprotos & ni->ni_rsnprotos) == 0)
- continue;
- if ((ess->rsnakms & ni->ni_rsnakms) == 0)
- continue;
- if ((ess->rsnciphers & ni->ni_rsnciphers) == 0)
- continue;
-
if ((ic->ic_flags & IEEE80211_F_DESBSSID) &&
!IEEE80211_ADDR_EQ(ic->ic_des_bssid, ni->ni_bssid))
continue;