Diff between 0f0039045088e41f3cebea620ba9ef6d13592faf and bbc1c2a7f06e3a77af70e1e030df047afe6a6d3a

Changed Files

File Additions Deletions Status
src/main.c +1 -10 modified

Full Patch

diff --git a/src/main.c b/src/main.c
index 50346ab..6a682e9 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;
 }