aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/hci_ll.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-04-05 01:27:34 -0400
committerMarcel Holtmann <marcel@holtmann.org>2015-04-07 12:47:10 -0400
commit7c40fb8db135288485f4f6226ceb69d64610a84e (patch)
tree6a54af660d80d93947e566f5cf83c5496e53a129 /drivers/bluetooth/hci_ll.c
parent4ee7ef19894c0ac35cc6dc374d65658a26d7496a (diff)
Bluetooth: hci_uart: Add name information to hci_uart_proto struct
This adds an extra name field to the hci_uart_proto struct that provides a simple way of adding a string identifier to the protocol. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'drivers/bluetooth/hci_ll.c')
-rw-r--r--drivers/bluetooth/hci_ll.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/bluetooth/hci_ll.c b/drivers/bluetooth/hci_ll.c
index e66f0fa65485..c6a1aeb4e7fb 100644
--- a/drivers/bluetooth/hci_ll.c
+++ b/drivers/bluetooth/hci_ll.c
@@ -507,6 +507,7 @@ static struct sk_buff *ll_dequeue(struct hci_uart *hu)
507 507
508static const struct hci_uart_proto llp = { 508static const struct hci_uart_proto llp = {
509 .id = HCI_UART_LL, 509 .id = HCI_UART_LL,
510 .name = "LL",
510 .open = ll_open, 511 .open = ll_open,
511 .close = ll_close, 512 .close = ll_close,
512 .recv = ll_recv, 513 .recv = ll_recv,