aboutsummaryrefslogtreecommitdiffstats
path: root/src
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-15 13:12:47 (GMT)
commitbc185dc0a47cc532dffdb93a316bc4e13afbce0c (patch)
treee3b7d7fd39d8304ae5879e6cb2c35403c80f88d8 /src
parentb4cbbe91fc8015f3f667e70653f46cac4afe92ea (diff)
downloadhostap-06-bc185dc0a47cc532dffdb93a316bc4e13afbce0c.zip
hostap-06-bc185dc0a47cc532dffdb93a316bc4e13afbce0c.tar.gz
hostap-06-bc185dc0a47cc532dffdb93a316bc4e13afbce0c.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. (cherry picked from commit 7d315b7b429d6847de91524150a9ddc2fa6e21e4)
Diffstat (limited to 'src')
-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 35de073..ec26480 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -1523,17 +1523,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);
}
}