summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenoit.thebaudeau@advans <benoit.thebaudeau@advans>2012-07-19 01:23:21 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-07-19 13:11:31 -0500
commitb977aa80b5e4d9dc6ea447e6a82dfd1492baf889 (patch)
tree67534c86b602ee2f9e6d51cb8b79f61d6ff05c35
parent66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae (diff)
downloadu-boot-imx-b977aa80b5e4d9dc6ea447e6a82dfd1492baf889.zip
u-boot-imx-b977aa80b5e4d9dc6ea447e6a82dfd1492baf889.tar.gz
u-boot-imx-b977aa80b5e4d9dc6ea447e6a82dfd1492baf889.tar.bz2
net: bootp: fix build
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>
-rw-r--r--net/bootp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bootp.c b/net/bootp.c
index 87e30ab..c9b8349 100644
--- a/net/bootp.c
+++ b/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();