diff options
| author | Joshua Oreman | 2009-06-20 10:52:41 +0200 |
|---|---|---|
| committer | Michael Brown | 2009-06-24 14:18:31 +0200 |
| commit | 62549983274af297c65fed369d9f5a2ea795cd99 (patch) | |
| tree | d40c73fe349171019db7bfd952805feaaa3c991c /src/usr/autoboot.c | |
| parent | [ifmgmt] Move link-up status messages from autoboot() to iflinkwait() (diff) | |
| download | ipxe-62549983274af297c65fed369d9f5a2ea795cd99.tar.gz ipxe-62549983274af297c65fed369d9f5a2ea795cd99.tar.xz ipxe-62549983274af297c65fed369d9f5a2ea795cd99.zip | |
[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.c | 7 |
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; |
