projects
/
platform
/
upstream
/
gummiboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245d0f3
)
another "check ReadKeyStroke() for EFI_SUCCESS"
author
Ahmet Inan
<ainan@mathematik.uni-freiburg.de>
Thu, 16 May 2013 21:45:05 +0000
(23:45 +0200)
committer
Kay Sievers
<kay@vrfy.org>
Fri, 17 May 2013 01:20:17 +0000
(
03:20
+0200)
Just like with commit 9061fc1, trying to boot server without keyboard
resets timeout and prevents normal boot of default entry.
src/efi/gummiboot.c
patch
|
blob
|
history
diff --git
a/src/efi/gummiboot.c
b/src/efi/gummiboot.c
index
7f09a9c
..
9a7f14b
100644
(file)
--- a/
src/efi/gummiboot.c
+++ b/
src/efi/gummiboot.c
@@
-769,7
+769,7
@@
static BOOLEAN menu_run(Config *config, ConfigEntry **chosen_entry, CHAR16 *load
}
err = uefi_call_wrapper(ST->ConIn->ReadKeyStroke, 2, ST->ConIn, &key);
- if (err
== EFI_NOT_READY
) {
+ if (err
!= EFI_SUCCESS
) {
UINTN index;
if (timeout_remain == 0) {