From: Vladimir 'phcoder' Serbinenko Date: Thu, 26 Apr 2012 16:57:22 +0000 (+0200) Subject: * grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout X-Git-Tag: 2.00~295 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=147fbcab72c965dfc20d72514a09211a9ddd9753;p=thirdparty%2Fgrub.git * grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout because of network consoles. --- diff --git a/ChangeLog b/ChangeLog index abc6212c3..bf142afdf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-04-26 Vladimir Serbinenko + + * grub-core/term/terminfo.c (grub_terminfo_readkey): Increase timeout + because of network consoles. + 2012-04-26 Vladimir Serbinenko * grub-core/term/terminfo.c (grub_terminfo_getkey): Fix incorrect queue diff --git a/grub-core/term/terminfo.c b/grub-core/term/terminfo.c index 7157ee01e..b09953c2b 100644 --- a/grub-core/term/terminfo.c +++ b/grub-core/term/terminfo.c @@ -400,7 +400,7 @@ grub_terminfo_readkey (struct grub_term_input *term, int *keys, int *len, start = grub_get_time_ms (); \ do \ c = readkey (term); \ - while (c == -1 && grub_get_time_ms () - start < 12); \ + while (c == -1 && grub_get_time_ms () - start < 100); \ if (c == -1) \ return; \ \