]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Fix hci_update_accept_list_sync
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Feb 2022 15:11:47 +0000 (07:11 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 24 Feb 2022 20:07:01 +0000 (21:07 +0100)
commit80740ebb7e1ad15ab9c11425dcd26e073f86d74b
tree8d7a533aa69856b699f87fc4f0ab4a2cf66d69a5
parent2e8ecb4bbc13d4752d64a9f8f5512d59125cab25
Bluetooth: hci_sync: Fix hci_update_accept_list_sync

hci_update_accept_list_sync is returning the filter based on the error
but that gets overwritten by hci_le_set_addr_resolution_enable_sync
return instead of using the actual result of the likes of
hci_le_add_accept_list_sync which was intended.

Fixes: ad383c2c65a5b ("Bluetooth: hci_sync: Enable advertising when LL privacy is enabled")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sync.c