backed out the autojoin changes.

This commit is contained in:
solomon 2002-09-06 20:52:24 +00:00
parent 4d1f3e53bc
commit 1e49e1a046
2 changed files with 6 additions and 3 deletions

View file

@ -43,7 +43,8 @@
* --------------------------------------------------------------------
- Support the new auto-unknown mode present in firmware >1.3.3
When issuing an autojoin, we try to join a BSS, then an IBSS, and if
all fails, we create a new IBSS with the given parameters.
all fails, we create a new IBSS with the given parameters.
*note* currently disabled.
- Updates to hfa384x.h to reflect latest documentation
- Build system mini-enema. Automagically detect kernel version,
pcmcia status, and modversions. Pick up the kernel compile flags.

View file

@ -2478,7 +2478,7 @@ int prism2mgmt_autojoin(wlandevice_t *wlandev, void *msgp)
result = hfa384x_drvr_setconfig(
hw, HFA384x_RID_CNFDESIREDSSID,
bytebuf, HFA384x_RID_CNFDESIREDSSID_LEN);
#if 0
/* we can use the new-fangled auto-unknown mode if the firmware
is 1.3.3 or newer */
if (KERNEL_VERSION(priv->ident_sta_fw.major,
@ -2495,7 +2495,9 @@ int prism2mgmt_autojoin(wlandevice_t *wlandev, void *msgp)
} else {
port_type = HFA384x_PORTTYPE_BSS;
}
#else
port_type = HFA384x_PORTTYPE_BSS;
#endif
/* Set the PortType */
hfa384x_drvr_setconfig16(hw, HFA384x_RID_CNFPORTTYPE, &port_type);