:: commit ac3c4ac3b0b5db33dcca7aaf8cf543d0dc97e98e

no92 <no92.mail@gmail.com> — 2024-12-22 13:53

parents: f168f1b390

pxe: pass EFI device handle

diff --git a/common/pxe/tftp.s2.c b/common/pxe/tftp.s2.c
index e871270a..76b80924 100644
--- a/common/pxe/tftp.s2.c
+++ b/common/pxe/tftp.s2.c
@@ -190,6 +190,7 @@ struct file_handle *tftp_open(struct volume *part, const char *server_addr, cons
 
     struct file_handle *handle = ext_mem_alloc(sizeof(struct file_handle));
 
+    handle->efi_part_handle = part->efi_handle;
     handle->size = file_size;
     handle->is_memfile = true;
 
tab: 248 wrap: offon