diff options
author | Pan Bian <bianpan2016@163.com> | 2021-01-21 08:34:19 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-01-25 16:13:52 +0100 |
commit | 5a3ef03afe7e12982dc3b978f4c5077c907f7501 (patch) | |
tree | 114c8ddbfb84001476996c03056fb556f25ceece /net/bluetooth/ecdh_helper.c | |
parent | Bluetooth: disable advertisement filters during suspend (diff) | |
download | linux-5a3ef03afe7e12982dc3b978f4c5077c907f7501.tar.xz linux-5a3ef03afe7e12982dc3b978f4c5077c907f7501.zip |
Bluetooth: drop HCI device reference before return
Call hci_dev_put() to decrement reference count of HCI device hdev if
fails to duplicate memory.
Fixes: 0b26ab9dce74 ("Bluetooth: AMP: Handle Accept phylink command status evt")
Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth/ecdh_helper.c')
0 files changed, 0 insertions, 0 deletions