Remove tcflush during BT_ON
During BT_On procedure when we call tcflush function, on kernel side
it did not update the UART Tx status, so that in the UART Tx callback
function, it just updated the TTY buffer write pointer and discarded
the change baud rate command. Fix it by remove the tcflush function
call in BT_On procedure.
CRs-fixed:1077744
Change-Id: Ibde0a038052ea5dff2fd4bdb6059d8e964d3cebd
diff --git a/libbt-vendor/src/hw_rome.c b/libbt-vendor/src/hw_rome.c
index 56c3b9a..ccfb137 100644
--- a/libbt-vendor/src/hw_rome.c
+++ b/libbt-vendor/src/hw_rome.c
@@ -1456,7 +1456,7 @@
/* Total length of the packet to be sent to the Controller */
size = (HCI_CMD_IND + HCI_COMMAND_HDR_SIZE + VSC_SET_BAUDRATE_REQ_LEN);
- tcflush(fd,TCIOFLUSH);
+
/* Flow off during baudrate change */
if ((err = userial_vendor_ioctl(USERIAL_OP_FLOW_OFF , &flags)) < 0)
{