diff options
-rw-r--r-- | src/interface/efi/efi_block.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interface/efi/efi_block.c b/src/interface/efi/efi_block.c index c6445ab6..91f830a1 100644 --- a/src/interface/efi/efi_block.c +++ b/src/interface/efi/efi_block.c @@ -638,6 +638,9 @@ static int efi_block_boot ( unsigned int drive, const char *filename ) { goto err_sandev_find; } + /* Release SNP devices */ + efi_snp_release(); + /* Connect all possible protocols */ efi_block_connect ( sandev ); @@ -673,6 +676,7 @@ static int efi_block_boot ( unsigned int drive, const char *filename ) { bs->FreePool ( handles ); err_locate_file_systems: + efi_snp_claim(); err_sandev_find: return rc; } |