mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-01 06:33:07 +00:00
Bluetooth: hci_conn: add missing hci_dev_put() in iso_listen_bis()
[ Upstream commit7e7df2c10c
] hci_get_route() takes reference, we should use hci_dev_put() to release it when not need anymore. Fixes:f764a6c2c1
("Bluetooth: ISO: Add broadcast support") Signed-off-by: Wang ShaoBo <bobo.shaobowang@huawei.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
8787642e7f
commit
b9891ae634
1 changed files with 1 additions and 0 deletions
|
@ -879,6 +879,7 @@ static int iso_listen_bis(struct sock *sk)
|
|||
iso_pi(sk)->bc_sid);
|
||||
|
||||
hci_dev_unlock(hdev);
|
||||
hci_dev_put(hdev);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue