diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 07:59:11 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 17:46:20 -0500 |
commit | f9623229fdc22e591f1bf63eada1c0c93a199426 (patch) | |
tree | 6ca93d3d4a5d9b2ebd9784b839cf92e12a6835d2 /net | |
parent | ae446f56223420b3a137e717b2c6a95636bf26d4 (diff) | |
download | u-boot-f9623229fdc22e591f1bf63eada1c0c93a199426.tar.gz u-boot-f9623229fdc22e591f1bf63eada1c0c93a199426.tar.bz2 u-boot-f9623229fdc22e591f1bf63eada1c0c93a199426.zip |
net: Move debug trace to point of action
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/bootp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c index 84ac8a027d..b472051680 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -848,10 +848,10 @@ static void DhcpSendRequestPkt(struct Bootp_t *bp_offer) pktlen = eth_hdr_size + IP_UDP_HDR_SIZE + iplen; net_set_udp_header(iphdr, 0xFFFFFFFFL, PORT_BOOTPS, PORT_BOOTPC, iplen); - 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 */ + debug("Transmitting DHCPREQUEST packet: len = %d\n", pktlen); NetSendPacket(NetTxPacket, pktlen); } |