]> git.baikalelectronics.ru Git - uboot.git/commit
net: Re-check prerequisites when autoloading
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Jul 2018 00:36:40 +0000 (19:36 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 26 Jul 2018 19:08:20 +0000 (14:08 -0500)
commit4657bb82ef9018203e3ab0c5f047bc3e7ad38552
tree77c65135c28b0ce46511a4706ae3a8597fd696ea
parent87618a6b154cabadc43c50419f9c8577e100109d
net: Re-check prerequisites when autoloading

With net autoload, we check the prerequisites for the initial command,
but the greater prerequisites when autoloading are not checked.

If we would attempt to autoload, check those prerequisites too.

If we are not expecting a serverip from the server, then don't worry
about it not being set, but don't attempt to load if it isn't.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
net/net.c