properly removing bootup poll interface eth0

This commit is contained in:
Martin Willi
2008-05-15 08:41:00 +00:00
parent bde895181d
commit bb94e1ed60
+4 -1
View File
@@ -212,7 +212,10 @@ static bool wait_bootup(private_mconsole_t *this)
}
if (res == 0)
{
request(this, "remove eth9", buf, &len);
while (request(this, "remove eth9", buf, &len) != 0)
{
usleep(50000);
}
return TRUE;
}
if (this->idle)