diff mbox

[U-Boot] net: bootp: fix build

Message ID 1574131995.263000.1342697001958.JavaMail.root@advansee.com
State Accepted
Commit b977aa80b5e4d9dc6ea447e6a82dfd1492baf889
Delegated to: Joe Hershberger
Headers show

Commit Message

Benoît Thébaudeau July 19, 2012, 11:23 a.m. UTC
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(-)

Comments

Joe Hershberger July 19, 2012, 5:54 p.m. UTC | #1
Hi Benoît,

On Thu, Jul 19, 2012 at 6:23 AM, Benoît Thébaudeau
<benoit.thebaudeau@advansee.com> wrote:
> 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>
> ---

Applied, thanks.

-Joe
diff mbox

Patch

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();