]> www.infradead.org Git - users/willy/xarray.git/commit
Bluetooth: iso: Always release hdev at the end of iso_listen_bis
authorIulia Tanasescu <iulia.tanasescu@nxp.com>
Wed, 4 Dec 2024 12:28:48 +0000 (14:28 +0200)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 12 Dec 2024 14:24:05 +0000 (09:24 -0500)
commit9c76fff747a73ba01d1d87ed53dd9c00cb40ba05
treee025d6a6420ac9a1ffe1270f5148ebecc88fbb81
parent581dd2dc168fe0ed2a7a5534a724f0d3751c93ae
Bluetooth: iso: Always release hdev at the end of iso_listen_bis

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: 02171da6e86a ("Bluetooth: ISO: Add hcon for listening bis sk")
Signed-off-by: Iulia Tanasescu <iulia.tanasescu@nxp.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/iso.c