diff options
author | David S. Miller <davem@davemloft.net> | 2021-08-20 12:16:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-08-20 12:16:05 +0100 |
commit | e61fbee7be4b9566f8e8fcb15aadad0f17936c31 (patch) | |
tree | 0b3cb77d942364376a8b1296466d1fbfd535f558 /net/bluetooth/hci_sysfs.c | |
parent | 815cc21d8d2e47c2d00caf3cd4cddcf0b5b07292 (diff) | |
parent | 61969ef867d48fc76551fe50cefe0501e624766e (diff) | |
download | linux-e61fbee7be4b9566f8e8fcb15aadad0f17936c31.tar.gz linux-e61fbee7be4b9566f8e8fcb15aadad0f17936c31.tar.bz2 linux-e61fbee7be4b9566f8e8fcb15aadad0f17936c31.zip |
Merge tag 'for-net-next-2021-08-19' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
Luiz Augusto von Dentz says:
====================
bluetooth-next pull request for net-next:
- Add support for Foxconn Mediatek Chip
- Add support for LG LGSBWAC92/TWCM-K505D
- hci_h5 flow control fixes and suspend support
- Switch to use lock_sock for SCO and RFCOMM
- Various fixes for extended advertising
- Reword Intel's setup on btusb unifying the supported generations
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bluetooth/hci_sysfs.c')
-rw-r--r-- | net/bluetooth/hci_sysfs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hci_sysfs.c b/net/bluetooth/hci_sysfs.c index b69d88b88d2e..7827639ecf5c 100644 --- a/net/bluetooth/hci_sysfs.c +++ b/net/bluetooth/hci_sysfs.c @@ -85,8 +85,7 @@ static void bt_host_release(struct device *dev) struct hci_dev *hdev = to_hci_dev(dev); if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) - hci_cleanup_dev(hdev); - kfree(hdev); + hci_release_dev(hdev); module_put(THIS_MODULE); } |