Commit 4ca50db1 authored by Iulia Tanasescu's avatar Iulia Tanasescu Committed by Greg Kroah-Hartman
Browse files

Bluetooth: iso: Always release hdev at the end of iso_listen_bis



[ Upstream commit 9c76fff7 ]

Since hci_get_route holds the device before returning, the hdev
should be released with hci_dev_put at the end of iso_listen_bis
even if the function returns with an error.

Fixes: 02171da6 ("Bluetooth: ISO: Add hcon for listening bis sk")
Signed-off-by: default avatarIulia Tanasescu <iulia.tanasescu@nxp.com>
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f9ecc90b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment