Bluetooth: fix unintentional fall-through in hci line discipline
PATCH 1/1 Bluetooth: fix unintentional fall-through in hci line discipline
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(-)
drivers/bluetooth/hci_ldisc.c +1 -0
@@ -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))
Signature · 1 line
1.5.0.6