aboutsummaryrefslogtreecommitdiffstats
path: root/src/usr/autoboot.c
diff options
context:
space:
mode:
authorJoshua Oreman <oremanj@rwcr.net>2009-06-20 01:52:41 -0700
committerMichael Brown <mcb30@etherboot.org>2009-06-24 13:18:31 +0100
commit62549983274af297c65fed369d9f5a2ea795cd99 (patch)
treed40c73fe349171019db7bfd952805feaaa3c991c /src/usr/autoboot.c
parent4125216a2f88c1e4c9fd33931d1249b8afc2f923 (diff)
downloadipxe-62549983274af297c65fed369d9f5a2ea795cd99.tar.gz
[dhcp] Await link-up before starting DHCP
Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
Diffstat (limited to 'src/usr/autoboot.c')
-rw-r--r--src/usr/autoboot.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index 41b6d3f47..70b7e9258 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -39,9 +39,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
*
*/
-/** Time to wait for link-up */
-#define LINK_WAIT_MS 15000
-
/** Shutdown flags for exit */
int shutdown_exit_flags = 0;
@@ -153,10 +150,6 @@ static int netboot ( struct net_device *netdev ) {
return rc;
ifstat ( netdev );
- /* Wait for link-up */
- if ( ( rc = iflinkwait ( netdev, LINK_WAIT_MS ) ) != 0 )
- return rc;
-
/* Configure device via DHCP */
if ( ( rc = dhcp ( netdev ) ) != 0 )
return rc;