Skip to contentSkip to conversation

Bluetooth: fix unintentional fall-through in hci line discipline

PATCH New Ohad Ben-Cohen 1 participant 1 message May 6, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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.

---
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
index 4a59a33..1e7ad6b 100644
@@ -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