aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-02-12 20:02:19 (GMT)
committerJouni Malinen <j@w1.fi>2009-02-12 20:05:36 (GMT)
commit7d315b7b429d6847de91524150a9ddc2fa6e21e4 (patch)
treec9b51e25c853c6f6895e43700860435e96e35587
parent80bc75f13549c5208c39598c14f26ec501d085fb (diff)
downloadhostap-7d315b7b429d6847de91524150a9ddc2fa6e21e4.zip
hostap-7d315b7b429d6847de91524150a9ddc2fa6e21e4.tar.gz
hostap-7d315b7b429d6847de91524150a9ddc2fa6e21e4.tar.bz2
nl80211: Remove one second sleep after iface up
This workaround was needed with some drivers that used WEXT, but there is no known nl80211-enabled driver that would need this, so lets get rid of the extra delay.
-rw-r--r--src/drivers/driver_nl80211.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index cc8fdb7..5629588 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1579,17 +1579,6 @@ wpa_driver_nl80211_finish_drv_init(struct wpa_driver_nl80211_data *drv)
if (wpa_driver_nl80211_set_ifflags(drv, flags | IFF_UP) != 0) {
printf("Could not set interface '%s' UP\n",
drv->ifname);
- } else {
- /*
- * Wait some time to allow driver to initialize before
- * starting configuring the driver. This seems to be
- * needed at least some drivers that load firmware etc.
- * when the interface is set up.
- */
- wpa_printf(MSG_DEBUG, "Interface %s set UP - waiting "
- "a second for the driver to complete "
- "initialization", drv->ifname);
- sleep(1);
}
}