diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-05-18 09:22:54 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2020-05-18 09:24:53 -0700 |
commit | de492ac82dc504192a893e570b07fce004195cd3 (patch) | |
tree | 37d9dc5b6b1aab5a034487ccb0768f8308eaf2ea /emulator | |
parent | 8496a438f2e89a4bd36feca086e576fb7312957c (diff) | |
download | bluez-de492ac82dc504192a893e570b07fce004195cd3.tar.gz |
emulator: Fix not reporting LE Set Default PHY as supported
LE Set Default PHY (Octet 35 - Bit 5) is in fact supported.
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/btdev.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/emulator/btdev.c b/emulator/btdev.c index 63b3d43d6..c5c333f80 100644 --- a/emulator/btdev.c +++ b/emulator/btdev.c @@ -424,6 +424,7 @@ static void set_bredr20_commands(struct btdev *btdev) static void set_le_50_commands(struct btdev *btdev) { + btdev->commands[35] |= 0x20; /* LE Set Default PHY */ btdev->commands[36] |= 0x02; /* LE Set Adv Set Random Address */ btdev->commands[36] |= 0x04; /* LE Set Ext Adv Parameters */ btdev->commands[36] |= 0x08; /* LE Set Ext Adv Data */ |