aboutsummaryrefslogtreecommitdiff
path: root/net
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 /net
parent66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae (diff)
downloadu-boot-linaro-stable-b977aa80b5e4d9dc6ea447e6a82dfd1492baf889.tar.gz
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>
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 87e30ab8e..c9b8349b3 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();