|
@@ -388,7 +388,7 @@ static int hci_uart_register_dev(struct hci_uart *hu)
|
|
hdev->close = hci_uart_close;
|
|
hdev->close = hci_uart_close;
|
|
hdev->flush = hci_uart_flush;
|
|
hdev->flush = hci_uart_flush;
|
|
hdev->send = hci_uart_send_frame;
|
|
hdev->send = hci_uart_send_frame;
|
|
- hdev->parent = hu->tty->dev;
|
|
|
|
|
|
+ SET_HCIDEV_DEV(hdev, hu->tty->dev);
|
|
|
|
|
|
if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags))
|
|
if (test_bit(HCI_UART_RAW_DEVICE, &hu->hdev_flags))
|
|
set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);
|
|
set_bit(HCI_QUIRK_RAW_DEVICE, &hdev->quirks);
|