]> git.dujemihanovic.xyz Git - u-boot.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)
commit72a8f1685a3fece42b6dd31e41be613bf80352e4
tree81fc1b521ff31c021a6c61ff91f9d4dd1925a953
parent5947b49b091c016a2031c9f8b476f249e31eb125
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