]> www.infradead.org Git - users/dwmw2/linux.git/commit
Bluetooth: hci_sync: Fix not using correct handle
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 15 May 2024 14:32:01 +0000 (10:32 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 10 Jun 2024 13:48:25 +0000 (09:48 -0400)
commit86fbd9f63a6b42b8f158361334f5a25762aea358
tree90f992c3c1194c6d3c4984cc392e9e4a41dd5191
parent93792130a9387b26d825aa78947e4065deb95d15
Bluetooth: hci_sync: Fix not using correct handle

When setting up an advertisement the code shall always attempt to use
the handle set by the instance since it may not be equal to the instance
ID.

Fixes: e77f43d531af ("Bluetooth: hci_core: Fix not handling hdev->le_num_of_adv_sets=1")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/hci_sync.c