path: root/hostapd/hostapd.c
diff options
authorJouni Malinen <j@w1.fi>2008-11-21 18:48:58 (GMT)
committerJouni Malinen <j@w1.fi>2008-11-21 18:48:58 (GMT)
commitfe2c5241b58ce1e62f224ac56e47e12b16a752ed (patch)
tree0ca728698f3542a1cecf8ce5113f108bf460ad5d /hostapd/hostapd.c
parentddaa83ebeb108d00cd5888497fb4139d7cd6947e (diff)
Remove experimental non-AP STA code from hostapd
This was used to allow hostapd to associate as a non-AP STA to another AP one the same channel while still acting as an AP with the Host AP driver. This was very experimental and did not work with all firmware versions. Nowadays, much better way of doing this is to use mac80211 virtual non-AP STA interface. As such, this experimental code can be removed from hostapd to reduce the code size and make MLME code easier to understand since it is now only handling AP functionality.
Diffstat (limited to 'hostapd/hostapd.c')
1 files changed, 0 insertions, 3 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index d6163f8..a4fad98 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -1700,9 +1700,6 @@ hostapd_alloc_bss_data(struct hostapd_iface *hapd_iface,
#endif /* EAP_SERVER */
- if (hapd->conf->assoc_ap)
- hapd->assoc_ap_state = WAIT_BEACON;
hapd->driver = hapd->iconf->driver;
return hapd;