From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Legacy experimental LL Privacy was not enabled by default but CentralAddressResolution is which may cause problems with old kernels were LL Privacy may not work as expected. Fixes: https://github.com/bluez/bluez/issues/1138 --- src/main.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main.c b/src/main.c index 50346abbb4d1..6a682e9b921f 100644 --- a/src/main.c +++ b/src/main.c @@ -715,20 +715,11 @@ static bool match_experimental(const void *data, const void *match_data) bool btd_kernel_experimental_enabled(const char *uuid) { if (!btd_opts.kernel) - goto done; + return false; if (queue_find(btd_opts.kernel, match_experimental, uuid)) return true; -done: - /* For backward compatibility set LL Privacy as enabled if - * CentralAddressResolution has been set so old kernel LL Privacy is - * enabled. - */ - if (!strcmp(uuid, "15c0a148-c273-11ea-b3de-0242ac130004") && - btd_opts.defaults.le.addr_resolution) - return true; - return false; } -- 2.48.1