From f9623229fdc22e591f1bf63eada1c0c93a199426 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Wed, 23 May 2012 07:59:11 +0000 Subject: [PATCH] net: Move debug trace to point of action Signed-off-by: Joe Hershberger Acked-by: Simon Glass --- net/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5