diff options
author | benoit.thebaudeau@advans <benoit.thebaudeau@advans> | 2012-07-19 01:23:21 (GMT) |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-07-19 18:11:31 (GMT) |
commit | b977aa80b5e4d9dc6ea447e6a82dfd1492baf889 (patch) | |
tree | 67534c86b602ee2f9e6d51cb8b79f61d6ff05c35 | |
parent | 66714b1a6df0a5a9f1656a6d4e6eea3c7ecdf7ae (diff) | |
download | u-boot-b977aa80b5e4d9dc6ea447e6a82dfd1492baf889.tar.xz |
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.c | 2 |
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(); |