]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[Bluetooth] Fix unintentional fall-through in HCI line discipline
authorOhad Ben-Cohen <ohad@bencohen.org>
Fri, 2 Nov 2007 03:39:41 +0000 (04:39 +0100)
committerAdrian Bunk <bunk@kernel.org>
Fri, 2 Nov 2007 03:39:41 +0000 (04:39 +0100)
A trivial fix to (what looks like) an unintentional fall-through in the
HCI line discipline.

Signed-off-by: Ohad Ben-Cohen <ohad@bencohen.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
drivers/bluetooth/hci_ldisc.c

index 613673b12fa6711cb8b749c8aea03cc0fc1c7b01..4c0e6d85673dd1afc324b3211ee9e9363090dfe7 100644 (file)
@@ -478,6 +478,7 @@ static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file,
                        tty->low_latency = 1;
                } else
                        return -EBUSY;
+               break;
 
        case HCIUARTGETPROTO:
                if (test_bit(HCI_UART_PROTO_SET, &hu->flags))