From: Ohad Ben-Cohen <[email protected]>
A trivial fix to (what looks like) an unintentional fall-through in hci line discipline.
Signed-off-by: Ohad Ben-Cohen <[email protected]>
---
Hi Marcel, patch should be applied third after previous two patches to hci_ldisc.c
(first patch is "add HCIUARTGETDEVICE", second patch is "fix NULL pointer dereference").
Thanks, Ohad.
drivers/bluetooth/hci_ldisc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c
index 4a59a33..1e7ad6b 100644
--- a/drivers/bluetooth/hci_ldisc.c
+++ b/drivers/bluetooth/hci_ldisc.c
@@ -474,6 +474,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))
--
1.5.0.6