]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPkg/PlatformBootManagerLib: fix hotkey of boot option
authorHaojian Zhuang <haojian.zhuang@linaro.org>
Thu, 23 Aug 2018 05:51:42 +0000 (13:51 +0800)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 23 Aug 2018 15:41:47 +0000 (16:41 +0100)
Fix the parameter in EfiBootManagerAddKeyOptionVariable (). Otherwise,
the hotkey of boot option won't be registered correctly.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmPkg/Library/PlatformBootManagerLib/PlatformBm.c

index f9c71d430c99352bfbc2f67854c016f0a19e53bc..81d36f218700eaaaa66c410ab37e975cc2caa04b 100644 (file)
@@ -479,7 +479,7 @@ GetPlatformOptions (
                NULL,\r
                BootOptionNumber,\r
                0,\r
-               BootKeys[Index],\r
+               &BootKeys[Index],\r
                NULL\r
                );\r
     if (EFI_ERROR (Status)) {\r