[U-Boot] [PATCH] net: fix a regression in bootp.c
Helmut Raiger
helmut.raiger at hale.at
Mon Sep 19 14:31:02 CEST 2011
This fixes a bug introduced by 093498669e77597635a24f326f11efeab213d394.
TftpStart() was not called unless the 'autoload' environment variable was set.
Signed-off-by: Helmut Raiger <helmut.raiger at hale.at>
---
net/bootp.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/net/bootp.c b/net/bootp.c
index 3db08ea..3157548 100644
--- a/net/bootp.c
+++ b/net/bootp.c
@@ -164,8 +164,9 @@ static void auto_load(void)
return;
}
#endif
- TftpStart();
}
+
+ TftpStart();
}
#if !defined(CONFIG_CMD_DHCP)
--
1.7.4.4
--
Scanned by MailScanner.
More information about the U-Boot
mailing list