]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: incorrect definition of EFI_SIMPLE_NETWORK_PROTOCOL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 5 Oct 2017 14:35:55 +0000 (16:35 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 05:00:31 +0000 (07:00 +0200)
WaitForPacket is an event and not a function pointer.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_api.h

index c44dc9d0cbde7d513884255ef8fd76bba72c4c2e..308baeec4975c4fdc7194ab41587866d50e166dc 100644 (file)
@@ -633,7 +633,7 @@ struct efi_simple_network
                        ulong *header_size, ulong *buffer_size, void *buffer,
                        struct efi_mac_address *src_addr,
                        struct efi_mac_address *dest_addr, u16 *protocol);
-       void (EFIAPI *waitforpacket)(void);
+       struct efi_event *wait_for_packet;
        struct efi_simple_network_mode *mode;
 };