loader/efi: fix handling of serial devices.
Fixes a regression introduced in hrev55297, fixes #17670. Change-Id: Icc157e093b8fa3f5e0c2a59ab84c81b780933d46
This commit is contained in:
parent
f386770953
commit
6a9406a172
@ -86,7 +86,7 @@ serial_putc(char ch)
|
||||
extern "C" void
|
||||
serial_puts(const char* string, size_t size)
|
||||
{
|
||||
if (!sSerialEnabled)
|
||||
if (!sSerialEnabled || (sSerial == NULL && sSerialUsesEFI))
|
||||
return;
|
||||
|
||||
while (size-- != 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user