summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2007-07-05 20:31:39 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2007-07-05 20:31:39 +0000
commitd1b3f1cb245c3ee70b4e63045d20338358efb4c6 (patch)
treeb518fc131eaea52760673e28657269f1ed5d86ab /sys/dev
parent7f1ca36daef8428849cb2bb13a2deaebf9c05b52 (diff)
don't set IEEE80211_CAPINFO_ESS bit since we're not operating as an AP.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_iwi.c4
1 files changed, 2 insertions, 2 deletions
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) &&