[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <1D8C4C03-727F-4CC4-9FC9-6355A6C778FC@holtmann.org>
Date: Tue, 28 Jul 2020 09:17:46 +0200
From: Marcel Holtmann <marcel@...tmann.org>
To: Nicolas Boichat <drinkcat@...omium.org>
Cc: Ian Molton <ian@...menth.co.uk>,
Johan Hedberg <johan.hedberg@...il.com>,
Sebastian Reichel <sre@...nel.org>,
Bluetooth Kernel Mailing List
<linux-bluetooth@...r.kernel.org>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] Bluetooth: hci_serdev: Only unregister device if it
was registered
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@...omium.org>
>
> ---
>
> drivers/bluetooth/hci_serdev.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
Powered by blists - more mailing lists