From d1b3f1cb245c3ee70b4e63045d20338358efb4c6 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Thu, 5 Jul 2007 20:31:39 +0000 Subject: don't set IEEE80211_CAPINFO_ESS bit since we're not operating as an AP. --- sys/dev/pci/if_iwi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/if_iwi.c b/sys/dev/pci/if_iwi.c index a9961587b90..d090a94f063 100644 --- a/sys/dev/pci/if_iwi.c +++ b/sys/dev/pci/if_iwi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwi.c,v 1.79 2007/01/03 18:19:06 claudio Exp $ */ +/* $OpenBSD: if_iwi.c,v 1.80 2007/07/05 20:31:38 damien Exp $ */ /*- * Copyright (c) 2004-2006 @@ -2095,7 +2095,7 @@ iwi_auth_and_assoc(struct iwi_softc *sc) if (ic->ic_opmode == IEEE80211_M_IBSS) capinfo = IEEE80211_CAPINFO_IBSS; else - capinfo = IEEE80211_CAPINFO_ESS; + capinfo = 0; if (ic->ic_flags & IEEE80211_F_WEPON) capinfo |= IEEE80211_CAPINFO_PRIVACY; if ((ic->ic_flags & IEEE80211_F_SHPREAMBLE) && -- cgit v1.2.3