summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ldisc.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2007-05-09 09:15:45 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-11 08:45:06 +0200
commitc33be3c362f1bc98f6e2d731a274ef138ae80741 (patch)
tree92605fb31efaa2538af7b421bef02bbe8af4258b /drivers/bluetooth/hci_ldisc.c
parent[Bluetooth] Fix NULL pointer dereference in HCI line discipline (diff)
downloadlinux-c33be3c362f1bc98f6e2d731a274ef138ae80741.tar.xz
linux-c33be3c362f1bc98f6e2d731a274ef138ae80741.zip
[Bluetooth] Fix unintentional fall-through in HCI line discipline
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>
Diffstat (limited to 'drivers/bluetooth/hci_ldisc.c')
-rw-r--r--drivers/bluetooth/hci_ldisc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index e8ae0d7e7716..6055b9c0ac0f 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -475,6 +475,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))