
We should not call hci_unregister_dev if the device was not
successfully registered.
Fixes: c34dc3bfa7
("Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()")
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
7.9 KiB
7.9 KiB