linux/drivers/bluetooth
Nicolas Boichat 495b9d0dd0 Bluetooth: hci_serdev: Only unregister device if it was registered
[ Upstream commit 202798db95 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-08-19 08:16:16 +02:00
..
Kconfig
Makefile
ath3k.c
bcm203x.c
bfusb.c
bluecard_cs.c
bpa10x.c Bluetooth: bpa10x: change return value 2019-09-04 16:11:46 +02:00
bt3c_cs.c
btbcm.c Bluetooth: btbcm: Add 2 missing models to subver tables 2020-06-22 09:30:59 +02:00
btbcm.h
btintel.c
btintel.h
btmrvl_debugfs.c
btmrvl_drv.h
btmrvl_main.c
btmrvl_sdio.c btmrvl: Fix firmware filename for sd8997 chipset 2020-08-19 08:16:06 +02:00
btmrvl_sdio.h
btmtksdio.c Bluetooth: btmtksdio: fix up firmware download sequence 2020-08-19 08:16:07 +02:00
btmtkuart.c Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe() 2020-06-22 09:30:56 +02:00
btqca.c Bluetooth: hci_qca: wait for Pre shutdown complete event before sending the Power off pulse 2019-09-05 17:27:22 +02:00
btqca.h Bluetooth: hci_qca: Send VS pre shutdown command. 2019-08-12 18:23:50 +02:00
btqcomsmd.c
btrsi.c
btrtl.c Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes 2019-09-05 17:27:32 +02:00
btrtl.h
btsdio.c
btusb.c Bluetooth: btusb: fix up firmware download sequence 2020-08-19 08:16:07 +02:00
btwilink.c
dtl1_cs.c
h4_recv.h
hci_ag6xx.c
hci_ath.c
hci_bcm.c Bluetooth: hci_bcm: fix freeing not-requested IRQ 2020-06-22 09:31:18 +02:00
hci_bcsp.c Bluetooth: Fix invalid-free in bcsp_close() 2019-11-29 10:09:39 +01:00
hci_h4.c
hci_h5.c Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags 2020-08-19 08:16:16 +02:00
hci_intel.c
hci_ldisc.c
hci_ll.c Revert "Bluetooth: hci_ll: set operational frequency earlier" 2019-11-29 10:09:43 +01:00
hci_mrvl.c
hci_nokia.c
hci_qca.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-09-15 14:17:27 +02:00
hci_serdev.c Bluetooth: hci_serdev: Only unregister device if it was registered 2020-08-19 08:16:16 +02:00
hci_uart.h
hci_vhci.c