From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Beno=C3=AEt_Th=C3=A9baudeau?= Date: Thu, 19 Jul 2012 13:23:21 +0200 (CEST) Subject: [U-Boot] [PATCH] net: bootp: fix build In-Reply-To: <1827589421.262998.1342697000376.JavaMail.root@advansee.com> Message-ID: <1574131995.263000.1342697001958.JavaMail.root@advansee.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL. Signed-off-by: Beno?t Th?baudeau Cc: Joe Hershberger --- .../net/bootp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();