From: benoit.thebaudeau@advans Date: Thu, 19 Jul 2012 01:23:21 +0000 (+0000) Subject: net: bootp: fix build X-Git-Tag: v2012.07-rc2~11^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b977aa80b5e4d9dc6ea447e6a82dfd1492baf889;p=u-boot net: bootp: fix build Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL. Signed-off-by: Benoît Thébaudeau Cc: Joe Hershberger --- diff --git a/net/bootp.c b/net/bootp.c index 87e30ab8e0..c9b8349b36 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();