]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: fix status management in network stack
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 1 Sep 2019 13:24:47 +0000 (15:24 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Sep 2019 21:18:51 +0000 (23:18 +0200)
commitc31c9cd826664b4a1d140ac9b9ad184312dca335
tree81fc1b521ff31c021a6c61ff91f9d4dd1925a953
parentb99c7d70a86f6d6e5fc9574b76b5f1157f0e0d5b
efi_loader: fix status management in network stack

The network should start in status EfiSimpleNetworkStopped.

Add and correct status checks in the simple network protocol.

Correct the unit test:
* Shutdown() and Stop() during setup if needed
* invoke Shutdown() before Stop() when tearing down

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_net.c
lib/efi_selftest/efi_selftest_snp.c