From: Alan Cox Date: Thu, 11 Jun 2009 12:56:16 +0000 (+0100) Subject: tty: fix bluetooth scribbling on low latency flags X-Git-Tag: MMI-PSA29.97-13-9~27982^2~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7f8d09eae26a8108406583192996561665b36371;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git tty: fix bluetooth scribbling on low latency flags Bluetooth shouldn't be doing this as most drivers don't support the flag, furthermore it shouldn't be needed with newer buffering. This becomes rather more visible as the locking fixes make the abuse of low_latency visible as spew on the users console/dmesg. Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index 688015128594..4895f0e05322 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c @@ -463,7 +463,6 @@ static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, clear_bit(HCI_UART_PROTO_SET, &hu->flags); return err; } - tty->low_latency = 1; } else return -EBUSY; break;