mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
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>
This commit is contained in:
parent
66714b1a6d
commit
b977aa80b5
1 changed files with 1 additions and 1 deletions
|
|
@ -330,7 +330,7 @@ BootpTimeout(void)
|
||||||
if (BootpTry >= TIMEOUT_COUNT) {
|
if (BootpTry >= TIMEOUT_COUNT) {
|
||||||
#ifdef CONFIG_BOOTP_MAY_FAIL
|
#ifdef CONFIG_BOOTP_MAY_FAIL
|
||||||
puts("\nRetry count exceeded\n");
|
puts("\nRetry count exceeded\n");
|
||||||
NetSetState(NETLOOP_FAIL);
|
net_set_state(NETLOOP_FAIL);
|
||||||
#else
|
#else
|
||||||
puts("\nRetry count exceeded; starting again\n");
|
puts("\nRetry count exceeded; starting again\n");
|
||||||
NetStartAgain();
|
NetStartAgain();
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue