summaryrefslogtreecommitdiff
path: root/sys/dev/ic/an.c
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-10 17:50:16 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-10 17:50:16 +0000
commit13691f1327bdd3f5c662ce58f480b926db6bd9b2 (patch)
tree074a82a8e188f060713a871614cb58281b73a790 /sys/dev/ic/an.c
parentc9b28123704b16d81a458b41ce97bce80d325613 (diff)
BSS mode by default.
Diffstat (limited to 'sys/dev/ic/an.c')
-rw-r--r--sys/dev/ic/an.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c
index 77761e872d6..3070470c45a 100644
--- a/sys/dev/ic/an.c
+++ b/sys/dev/ic/an.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: an.c,v 1.9 2000/06/20 20:35:14 todd Exp $ */
+/* $OpenBSD: an.c,v 1.10 2001/01/10 17:50:15 angelos Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -241,7 +241,7 @@ an_attach(sc)
sizeof(AN_DEFAULT_NETNAME) - 1);
sc->an_ssidlist.an_ssid1_len = strlen(AN_DEFAULT_NETNAME);
- sc->an_config.an_opmode = AN_OPMODE_IBSS_ADHOC;
+ sc->an_config.an_opmode = AN_OPMODE_INFRASTRUCTURE_STATION;
sc->an_tx_rate = 0;
bzero((char *)&sc->an_stats, sizeof(sc->an_stats));