]> git.sur5r.net Git - u-boot/blobdiff - lib/efi_loader/efi_net.c
efi_loader: fill simple network protocol revision
[u-boot] / lib / efi_loader / efi_net.c
index 91f1e4a69e15aad0c79e50ad9edbe6473e8ae7ae..fb23bcf6332c10a76e2095619a5aa1bd861d04ec 100644 (file)
@@ -228,6 +228,7 @@ int efi_net_register(void)
        netobj->parent.protocols[2].guid = &efi_pxe_guid;
        netobj->parent.protocols[2].protocol_interface = &netobj->pxe;
        netobj->parent.handle = &netobj->net;
+       netobj->net.revision = EFI_SIMPLE_NETWORK_PROTOCOL_REVISION;
        netobj->net.start = efi_net_start;
        netobj->net.stop = efi_net_stop;
        netobj->net.initialize = efi_net_initialize;