Skip to content
Snippets Groups Projects
Commit 7aabad28 authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Wolfgang Denk
Browse files

net/bootp.c: fix tftp load if autoload environment var isn't set


Commit 09349866 (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: default avatarPeter Korsgaard <jacmet@sunsite.dk>
Tested-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 226502e0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment