Parent: 0356d2a4c690bbd50c307cf795ccc047accd3d65
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-07-20 00:16:16
Tree: 3342f3dfbb1483bb2e6f3ebfdc4fda1b7800a87a
btdev: Fix not checking conditions for LE Set Random Address The spec says LE Set Random Address cannot be used when scan is enabled or with legacy advertising: BLUETOOTH CORE SPECIFICATION Version 5.2 | Vol 4, Part E page 2480 'If the Host issues this command when any of advertising (created using legacy advertising commands), scanning, or initiating are enabled, the Controller shall return the error code Command Disallowed (0x0C).'
Diffstat
| M | emulator/btdev.c | | | 13 | +++++++++++++ |
1 files changed, 13 insertions(+), 0 deletions(-)