aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/man4/wi.49
-rw-r--r--sys/dev/wi/if_wi.c2
2 files changed, 2 insertions, 9 deletions
diff --git a/share/man/man4/wi.4 b/share/man/man4/wi.4
index 9db7b98d0b3c..096a683ba9c9 100644
--- a/share/man/man4/wi.4
+++ b/share/man/man4/wi.4
@@ -69,14 +69,7 @@ For WaveLAN/IEEE Turbo adapters, speeds up to 6Mbps are available.
.Pp
By default, the
.Nm
-driver configures the WaveLAN card for ad-hoc operation.
-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 wicontrol 8
-utility.
+driver configures the WaveLAN card for BSS operation.
.Pp
For more information on configuring this device, see
.Xr ifconfig 8
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c
index 06fa656a07f8..de2de2a7f483 100644
--- a/sys/dev/wi/if_wi.c
+++ b/sys/dev/wi/if_wi.c
@@ -346,7 +346,7 @@ static int wi_pccard_attach(device_t dev)
sizeof(WI_DEFAULT_IBSS) - 1);
sc->wi_portnum = WI_DEFAULT_PORT;
- sc->wi_ptype = WI_PORTTYPE_ADHOC;
+ sc->wi_ptype = WI_PORTTYPE_BSS;
sc->wi_ap_density = WI_DEFAULT_AP_DENSITY;
sc->wi_rts_thresh = WI_DEFAULT_RTS_THRESH;
sc->wi_tx_rate = WI_DEFAULT_TX_RATE;