From 76f49e69d9ab45b2a1432131119ed7be54d22722 Mon Sep 17 00:00:00 2001 From: Tedd Ho-Jeong An Date: Tue, 1 Jun 2021 13:49:16 -0700 Subject: [PATCH] emulator/btdev: Enable LE Privacy feature This patch enables LE Privacy to support LL Privacy feature. --- emulator/btdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/emulator/btdev.c b/emulator/btdev.c index 692fabd71..13abad577 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -5415,6 +5415,7 @@ static void set_bredrle_features(struct btdev *btdev) btdev->features[4] |= 0x80; /* 3 slot EDR ACL packets */ btdev->features[5] |= 0x01; /* 5 slot EDR ACL packets */ + btdev->le_features[0] |= 0x40; /* LE PRIVACY */ btdev->le_features[1] |= 0x01; /* LE 2M PHY */ btdev->le_features[1] |= 0x08; /* LE Coded PHY */ btdev->le_features[1] |= 0x10; /* LE EXT ADV */ -- 2.47.3