diff options
author | Michael Brown | 2018-07-09 11:35:57 +0200 |
---|---|---|
committer | Michael Brown | 2018-07-09 11:35:57 +0200 |
commit | 05b979146ddb0b957354663a99c181357ad310b2 (patch) | |
tree | 3bb92585ea569d47821feb0ce040ffd3c0ba3659 /src/tests/profile_test.c | |
parent | [build] Use positive-form tests when checking for supported warnings (diff) | |
download | ipxe-05b979146ddb0b957354663a99c181357ad310b2.tar.gz ipxe-05b979146ddb0b957354663a99c181357ad310b2.tar.xz ipxe-05b979146ddb0b957354663a99c181357ad310b2.zip |
[rndis] Clean up error handling path in register_rndis()
Avoid calling rndis_halt() and rndis->op->close() twice if the call to
register_netdev() fails.
Reported-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests/profile_test.c')
0 files changed, 0 insertions, 0 deletions