Messages in this thread | | | Subject | Re: [PATCH 2/2] Bluetooth: hci_serdev: Only unregister device if it was registered | From | Marcel Holtmann <> | Date | Tue, 28 Jul 2020 09:17:46 +0200 |
| |
Hi Nicolas,
> We should not call hci_unregister_dev if the device was not > successfully registered. > > Fixes: c34dc3bfa7642fd ("Bluetooth: hci_serdev: Introduce hci_uart_unregister_device()") > Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> > > --- > > drivers/bluetooth/hci_serdev.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
| |