Skip to contentSkip to conversation

net: bootp: fix build

PATCH New Benoît Thébaudeau 2 participants 2 messages Jul 19, 2012 1 message not in the archive Networking

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 net: bootp: fix build

Fix NetSetState function name used with CONFIG_BOOTP_MAY_FAIL.

---
 .../net/bootp.c                                    |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
net/bootp.c +1 -1
index 87e30ab..c9b8349 100644
@@ -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();