提交 7f4b2b04 编写于 作者: A Andrei Warkentin 提交者: Gustavo F. Padovan

Bluetooth: Make hci a child of the corresponding tty device.

Make /sys/class/bluetooth/hciX a symlink to
path under corresponding tty.
Signed-off-by: NAndrei Warkentin <andreiw@motorola.com>
Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
上级 c6f3c5f7
......@@ -398,6 +398,7 @@ static int hci_uart_register_dev(struct hci_uart *hu)
hdev->flush = hci_uart_flush;
hdev->send = hci_uart_send_frame;
hdev->destruct = hci_uart_destruct;
hdev->parent = hu->tty->dev;
hdev->owner = THIS_MODULE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册