change the default mode from adhoc to bss (infrastructure)
Reviewed by: Brooks Davis <brooks@one-eyed-alien.net>
This commit is contained in:
parent
00a350c4b8
commit
e4b3e35ff0
@ -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
|
||||
|
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user