diff options
author | Oliver Wagner <owagner@tellerulam.com> | 2015-09-02 14:21:59 -0400 |
---|---|---|
committer | Gene Cumm <gene.cumm@gmail.com> | 2015-09-02 14:22:28 -0400 |
commit | 73bb3701a19a9eeb30b6f77ff7612ca2a9cd3f38 (patch) | |
tree | 7540be64f06b42f5b26cffb48502d19201b2dff5 /efi/main.c | |
parent | d70168d1bfdc3883095666a7347dca78707afc3a (diff) | |
download | syslinux-73bb3701a19a9eeb30b6f77ff7612ca2a9cd3f38.tar.gz syslinux-73bb3701a19a9eeb30b6f77ff7612ca2a9cd3f38.tar.xz syslinux-73bb3701a19a9eeb30b6f77ff7612ca2a9cd3f38.zip |
efi: Change status check when draining keyboard
PCs without keyboards may hang as they might return a status other than
EFI_NOT_READY.
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Diffstat (limited to 'efi/main.c')
-rw-r--r-- | efi/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1381,7 +1381,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table) in = ST->ConIn; do { status = uefi_call_wrapper(in->ReadKeyStroke, 2, in, &key); - } while (status != EFI_NOT_READY); + } while (status == EFI_SUCCESS); if (!setjmp(load_error_buf)) load_env32(NULL); |