summaryrefslogtreecommitdiffstats
path: root/sys/dev/an
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-03-12 06:13:39 +0000
committerassar <assar@FreeBSD.org>2001-03-12 06:13:39 +0000
commite79905605f3ce6f62fb59eb38bcd9103d7f0159d (patch)
treeaae590f7b31d0189b4de519eedc27126d4f3c92a /sys/dev/an
parent37dcaeac7f5819da85436ab7c95b4401d0047470 (diff)
downloadFreeBSD-src-e79905605f3ce6f62fb59eb38bcd9103d7f0159d.zip
FreeBSD-src-e79905605f3ce6f62fb59eb38bcd9103d7f0159d.tar.gz
change the default mode from adhoc to bss (infrastructure)
Reviewed by: Brooks Davis <brooks@one-eyed-alien.net>
Diffstat (limited to 'sys/dev/an')
-rw-r--r--sys/dev/an/if_an.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c
index 9fd258a..6992957 100644
--- a/sys/dev/an/if_an.c
+++ b/sys/dev/an/if_an.c
@@ -375,7 +375,7 @@ int an_attach(sc, unit, flags)
sc->an_ssidlist.an_ssid1_len = strlen(AN_DEFAULT_NETNAME);
sc->an_config.an_opmode =
- AN_OPMODE_IBSS_ADHOC;
+ AN_OPMODE_INFRASTRUCTURE_STATION;
sc->an_tx_rate = 0;
bzero((char *)&sc->an_stats, sizeof(sc->an_stats));
OpenPOWER on IntegriCloud