]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
tty: fix bluetooth scribbling on low latency flags
authorAlan Cox <alan@linux.intel.com>
Thu, 11 Jun 2009 12:56:16 +0000 (13:56 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:05 +0000 (08:51 -0700)
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 <alan@linux.intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/bluetooth/hci_ldisc.c

index 688015128594acbeeda9ade8ce5f8a37c239275f..4895f0e053229bc8c04b568912340ffdbc02a076 100644 (file)
@@ -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;