diff options
| author | Michael Brown | 2020-10-02 00:23:10 +0200 |
|---|---|---|
| committer | Michael Brown | 2020-10-02 01:36:33 +0200 |
| commit | c70b3e04e86cefca335e36f883829d89583a6921 (patch) | |
| tree | 5e6c2e3c67ce11cc01b457c2d1f554e954fbc74c /src/interface/efi/efi_block.c | |
| parent | [efi] Connect controllers after loading an EFI driver (diff) | |
| download | ipxe-c70b3e04e86cefca335e36f883829d89583a6921.tar.gz ipxe-c70b3e04e86cefca335e36f883829d89583a6921.tar.xz ipxe-c70b3e04e86cefca335e36f883829d89583a6921.zip | |
[efi] Always enable recursion when calling ConnectController()
There appears to be no reason for avoiding recursion when calling
ConnectController(), and recursion provides the least surprising
behaviour.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/efi/efi_block.c')
| -rw-r--r-- | src/interface/efi/efi_block.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interface/efi/efi_block.c b/src/interface/efi/efi_block.c index 64d1e1980..0024fbbea 100644 --- a/src/interface/efi/efi_block.c +++ b/src/interface/efi/efi_block.c @@ -237,7 +237,7 @@ static void efi_block_connect ( struct san_device *sandev ) { /* Try to connect all possible drivers to this block device */ if ( ( efirc = bs->ConnectController ( block->handle, NULL, - NULL, 1 ) ) != 0 ) { + NULL, TRUE ) ) != 0 ) { rc = -EEFI ( efirc ); DBGC ( sandev, "EFIBLK %#02x could not connect drivers: %s\n", sandev->drive, strerror ( rc ) ); |
