Loading drivers/bluetooth/hci_ldisc.c +1 −2 Original line number Diff line number Diff line Loading @@ -331,12 +331,11 @@ static void hci_uart_tty_close(struct tty_struct *tty) if (hdev) hci_uart_close(hdev); cancel_work_sync(&hu->write_work); if (test_and_clear_bit(HCI_UART_PROTO_SET, &hu->flags)) { if (hdev) { if (test_bit(HCI_UART_REGISTERED, &hu->flags)) hci_unregister_dev(hdev); cancel_work_sync(&hu->write_work); hci_free_dev(hdev); } hu->proto->close(hu); Loading Loading
drivers/bluetooth/hci_ldisc.c +1 −2 Original line number Diff line number Diff line Loading @@ -331,12 +331,11 @@ static void hci_uart_tty_close(struct tty_struct *tty) if (hdev) hci_uart_close(hdev); cancel_work_sync(&hu->write_work); if (test_and_clear_bit(HCI_UART_PROTO_SET, &hu->flags)) { if (hdev) { if (test_bit(HCI_UART_REGISTERED, &hu->flags)) hci_unregister_dev(hdev); cancel_work_sync(&hu->write_work); hci_free_dev(hdev); } hu->proto->close(hu); Loading