[efi] Continue to connect remaining handles after connection errors
authorMichael Brown <mcb30@ipxe.org>
Wed, 13 Sep 2017 07:07:55 +0000 (10:07 +0300)
committerMichael Brown <mcb30@ipxe.org>
Wed, 13 Sep 2017 07:07:55 +0000 (10:07 +0300)
commitd46c53cfc6fe98fbb51afc2560dac26703e3d178
tree17e68c730556a5f319e1e7a191bba20cc89488b0
parent9720f8396fc354d04ba70ae292c5c2b8f7fe21b8
[efi] Continue to connect remaining handles after connection errors

Some UEFI BIOSes will deliberately break the implementation of
ConnectController() to return errors for devices that have been
"disabled" via the BIOS setup screen.  (As an added bonus, such BIOSes
may return garbage EFI_STATUS values such as 0xff.)

Work around these broken UEFI BIOSes by ignoring failures and
continuing to attempt to connect any remaining handles.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_driver.c