diff options
author | Wolfgang Denk <wd@denx.de> | 2008-04-08 00:11:22 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-04-08 00:11:22 +0200 |
commit | f9eabcb357ea294e3e01bfe26841bf51d6bd8f05 (patch) | |
tree | 7e3dffe10717babf2e2430ab4c9ed236bcba3742 /net/bootp.c | |
parent | 2c78febd114b716714e7ac83c17bac5e30066512 (diff) | |
parent | 2d934ea51f276522b532f870a820e844ff480b5b (diff) |
Merge branch 'master' of git://www.denx.de/git/u-boot-net
Diffstat (limited to 'net/bootp.c')
-rw-r--r-- | net/bootp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c index 89e30d2c70..0eeef57842 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -879,7 +879,10 @@ static void DhcpSendRequestPkt(Bootp_t *bp_offer) iplen = BOOTP_HDR_SIZE - sizeof(bp->bp_vend) + extlen; NetSetIP(iphdr, 0xFFFFFFFFL, PORT_BOOTPS, PORT_BOOTPC, iplen); - debug ("Transmitting DHCPREQUEST packet: len = %d\n", pktlen); + debug ("Transmitting DHCPREQUEST packet: len = %d\n", pktlen); +#ifdef CONFIG_BOOTP_DHCP_REQUEST_DELAY + udelay(CONFIG_BOOTP_DHCP_REQUEST_DELAY); +#endif /* CONFIG_BOOTP_DHCP_REQUEST_DELAY */ NetSendPacket(NetTxPacket, pktlen); } |