From 1202c14e6efbf53ffd90ab7c6797e063b795451b Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Tue, 27 Aug 2013 17:38:23 +0900 Subject: [PATCH] ntdll: Ignore ioctl(TIOCGICOUNT) failures. Most USB-serial Linux drivers don't support it. --- dlls/ntdll/serial.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/ntdll/serial.c b/dlls/ntdll/serial.c index f4ab2127787..91e72302903 100644 --- a/dlls/ntdll/serial.c +++ b/dlls/ntdll/serial.c @@ -820,12 +820,11 @@ static NTSTATUS get_irq_info(int fd, serial_irq_info *irq_info) { TRACE("TIOCGICOUNT err %s\n", strerror(errno)); memset(irq_info,0, sizeof(serial_irq_info)); - return FILE_GetNtStatus(); } #else memset(irq_info,0, sizeof(serial_irq_info)); - return STATUS_NOT_IMPLEMENTED; #endif + irq_info->temt = 0; /* Generate a single TX_TXEMPTY event when the TX Buffer turns empty*/ #ifdef TIOCSERGETLSR /* prefer to log the state TIOCSERGETLSR */