change the default mode from adhoc to bss (infrastructure)

Reviewed by:	Brooks Davis <brooks@one-eyed-alien.net>
This commit is contained in:
Assar Westerlund 2001-03-12 06:13:39 +00:00
parent 00a350c4b8
commit e4b3e35ff0
2 changed files with 2 additions and 10 deletions

View File

@ -87,15 +87,7 @@ selectable between 1Mbps, 2Mbps, 5.5Mbps, 11Mbps or
.Pp
By default, the
.Nm
driver configures the Aironet card for ad-hoc operation with an SSID
of "ANY."
In this mode,
stations can communicate among each other without the aid of an access
point.
To join a service set, the driver must be set for BSS mode using
the
.Xr ancontrol 8
utility.
driver configures the Aironet card for infrastructure operation.
.Pp
For more information on configuring this device, see
.Xr ifconfig 8

View File

@ -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));