summaryrefslogtreecommitdiff
path: root/emulator/le.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-05-01 23:43:18 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-05-01 23:43:18 -0700
commit953541817f531f486d50cf16c0afe0a6b187ac7b (patch)
tree073a47e902929dc423fadb9082491bf3f2486c47 /emulator/le.c
parent8d6646fccc059942d1d8aa89e69a184bfb613034 (diff)
downloadbluez-953541817f531f486d50cf16c0afe0a6b187ac7b.tar.gz
emulator: Enable LE power class and minimum channels feature
Diffstat (limited to 'emulator/le.c')
-rw-r--r--emulator/le.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulator/le.c b/emulator/le.c
index 132b190b1..33abbd31e 100644
--- a/emulator/le.c
+++ b/emulator/le.c
@@ -360,8 +360,8 @@ static void reset_defaults(struct bt_le *hci)
//hci->le_features[1] |= 0x10; /* LE Extended Advertising */
//hci->le_features[1] |= 0x20; /* LE Periodic Advertising */
hci->le_features[1] |= 0x40; /* Channel Selection Algorithm #2 */
- //hci->le_features[1] |= 0x80; /* LE Power Class 1 */
- //hci->le_features[2] |= 0x01; /* Minimum Number of Used Channels Procedure */
+ hci->le_features[1] |= 0x80; /* LE Power Class 1 */
+ hci->le_features[2] |= 0x01; /* Minimum Number of Used Channels Procedure */
memset(hci->le_random_addr, 0, sizeof(hci->le_random_addr));