]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
net: bootp: fix build
authorbenoit.thebaudeau@advans <benoit.thebaudeau@advans>
Thu, 19 Jul 2012 01:23:21 +0000 (01:23 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 19 Jul 2012 18:11:31 +0000 (13:11 -0500)
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

index 87e30ab8e0a00c609110f80d901c05519c12b59f..c9b8349b3650b873351dd44b86eb4386a495e285 100644 (file)
@@ -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();