summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:59:11 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 17:46:20 -0500
commitf9623229fdc22e591f1bf63eada1c0c93a199426 (patch)
tree6ca93d3d4a5d9b2ebd9784b839cf92e12a6835d2 /net
parentae446f56223420b3a137e717b2c6a95636bf26d4 (diff)
downloadu-boot-imx-f9623229fdc22e591f1bf63eada1c0c93a199426.zip
u-boot-imx-f9623229fdc22e591f1bf63eada1c0c93a199426.tar.gz
u-boot-imx-f9623229fdc22e591f1bf63eada1c0c93a199426.tar.bz2
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c
index 84ac8a0..b472051 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);
}