projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae446f5
)
net: Move debug trace to point of action
author
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 23 May 2012 07:59:11 +0000
(07:59 +0000)
committer
Joe Hershberger
<joe.hershberger@ni.com>
Wed, 23 May 2012 22:46:20 +0000
(17:46 -0500)
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
net/bootp.c
patch
|
blob
|
history
diff --git
a/net/bootp.c
b/net/bootp.c
index 84ac8a027daf620687f14305000fcc6ac9978fa4..b47205168012748cc0e2a5767a912c54cb338c1b 100644
(file)
--- 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);
}