commit | fd3056337e6fcc140f400e11edd33f6f1cb37de1 | [log] [tgz] |
---|---|---|
author | Joe Hershberger <joe.hershberger@ni.com> | Wed May 20 14:27:23 2015 -0500 |
committer | Tom Rini <trini@konsulko.com> | Thu May 21 09:13:20 2015 -0400 |
tree | d6c39687cff48c4f4600d63468814a4cf51fef37 | |
parent | 73c2bbeea3d09bb8c81adc8769fc53493b6c0351 [diff] |
net: Use env callbacks for net variables Instead of checking for changes to the env each time we enter the net_loop, use the env callbacks to update the values of the variables. Don't update the variables when the source was programmatic, since the variables were the source of the new value. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Reviewed-by: Simon Glass <sjg@chromium.org>