From: Joe Hershberger Date: Wed, 23 May 2012 07:59:11 +0000 (+0000) Subject: net: Move debug trace to point of action X-Git-Tag: v2012.07-rc1~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9623229fdc22e591f1bf63eada1c0c93a199426;p=u-boot net: Move debug trace to point of action Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- 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); }