On 24.02.22 21:08, Marcel Holtmann wrote:
Hi Luiz,
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@xxxxxxxxx>
---
v2: Use u8 filter_policy instead of int ret as variable to store the result.
net/bluetooth/hci_sync.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
patch has been applied to bluetooth-stable tree.
Regards
Marcel
Just to put you in the loop in case you have not noticed it yet: there
seems to be some kind of regression introduced by this patch. See
comment #5 of ticket 215768 where Damien Thébault bisected the kernel [1].
Joey
[1] https://bugzilla.kernel.org/show_bug.cgi?id=215768#c5