[U-Boot] [PATCH] net/bootp.c: fix tftp load if autoload environment var isn't set
Wolfgang Denk
wd at denx.de
Mon Sep 19 23:25:34 CEST 2011
Dear Peter Korsgaard,
In message <1316418886-13495-1-git-send-email-jacmet at sunsite.dk> you wrote:
> Commit 093498669 (Put common autoload code into auto_load() function)
> broke handling of autoload environment variable not being set.
> The bootp/dhcp code will just keep on requesting IP address forever
> and never start TFTP download.
>
> Fix it by moving TftpStart() outside the conditional like it was before.
>
> Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
> ---
> net/bootp.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Real computer scientists despise the idea of actual hardware. Hard-
ware has limitations, software doesn't. It's a real shame that Turing
machines are so poor at I/O.
More information about the U-Boot
mailing list