diff options
| -rw-r--r-- | share/man/man4/an.4 | 10 | ||||
| -rw-r--r-- | sys/dev/an/if_an.c | 2 |
2 files changed, 2 insertions, 10 deletions
diff --git a/share/man/man4/an.4 b/share/man/man4/an.4 index ff6d61f64319..4edae63cedf9 100644 --- a/share/man/man4/an.4 +++ b/share/man/man4/an.4 @@ -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 diff --git a/sys/dev/an/if_an.c b/sys/dev/an/if_an.c index 9fd258a48ced..6992957dbe24 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)); |
