* [U-Boot] [PATCH] net: bootp: fix build
[not found] <1827589421.262998.1342697000376.JavaMail.root@advansee.com>
@ 2012-07-19 11:23 ` Benoît Thébaudeau
2012-07-19 17:54 ` Joe Hershberger
0 siblings, 1 reply; 2+ messages in thread
From: Benoît Thébaudeau @ 2012-07-19 11:23 UTC (permalink / raw)
To: u-boot
Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL.
Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
---
.../net/bootp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git u-boot-66714b1.orig/net/bootp.c u-boot-66714b1/net/bootp.c
index 87e30ab..c9b8349 100644
--- u-boot-66714b1.orig/net/bootp.c
+++ u-boot-66714b1/net/bootp.c
@@ -330,7 +330,7 @@ BootpTimeout(void)
if (BootpTry >= TIMEOUT_COUNT) {
#ifdef CONFIG_BOOTP_MAY_FAIL
puts("\nRetry count exceeded\n");
- NetSetState(NETLOOP_FAIL);
+ net_set_state(NETLOOP_FAIL);
#else
puts("\nRetry count exceeded; starting again\n");
NetStartAgain();
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-19 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1827589421.262998.1342697000376.JavaMail.root@advansee.com>
2012-07-19 11:23 ` [U-Boot] [PATCH] net: bootp: fix build Benoît Thébaudeau
2012-07-19 17:54 ` Joe Hershberger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox