From b977aa80b5e4d9dc6ea447e6a82dfd1492baf889 Mon Sep 17 00:00:00 2001
From: "benoit.thebaudeau@advans" <benoit.thebaudeau@advans>
Date: Thu, 19 Jul 2012 01:23:21 +0000
Subject: [PATCH] net: bootp: fix build
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

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

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