summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2021-01-20 23:34:19 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-03-03 16:44:15 +0100
commit9729dcb127c890b3444d5387eaf3f3ef1058eabc (patch)
tree7dce75e6325dba336ff8ea7806c9c74a5a9d42b0 /scripts
parent45dd079a78b6b706da514754074dc0d332addc78 (diff)
Bluetooth: drop HCI device reference before return
[ Upstream commit 5a3ef03afe7e12982dc3b978f4c5077c907f7501 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions