changeset 231:b133468760a7

8133333: UART open function creates device with invalid dataBits parameter Summary: cfmakeraw call is eliminated from javacall_uart_set_stop_bits Reviewed-by: alkonsta
author snazarki
date Tue, 11 Aug 2015 16:22:49 +0300
parents 6dfe35ed50a8
children 63f9b3b2d14b
files src/share/linux/native/com/oracle/dio/uart/uart.c
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/linux/native/com/oracle/dio/uart/uart.c	Tue Aug 11 14:46:20 2015 +0300
+++ b/src/share/linux/native/com/oracle/dio/uart/uart.c	Tue Aug 11 16:22:49 2015 +0300
@@ -299,7 +299,6 @@
     if(getTermios(handle, &term) != JAVACALL_OK){
         return JAVACALL_DIO_FAIL;
     }
-    cfmakeraw(&term);
 
     //IMPL_NOTE: linux termios defines 1 or 2 stopbits only
     switch(stopBits){