diff options
| author | Luiz Augusto von Dentz <[email protected]> | 2021-08-02 16:56:19 -0700 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2021-08-03 23:30:50 +0200 |
| commit | c45074d68a9b1e893d86520af71fab37693c3d7e (patch) | |
| tree | e160aa1fcac3d4dd27fdceb63ed1d5946b47839d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 102793136ce9dacae77c2d1f8dd6878b480f4b95 (diff) | |
Bluetooth: Fix not generating RPA when required
Code was checking if random_addr and hdev->rpa match without first
checking if the RPA has not been set (BDADDR_ANY), furthermore it was
clearing HCI_RPA_EXPIRED before the command completes and the RPA is
actually programmed which in case of failure would leave the expired
RPA still set.
Since advertising instance have a similar problem the clearing of
HCI_RPA_EXPIRED has been moved to hci_event.c after checking the random
address is in fact the hdev->rap and then proceed to set the expire
timeout.
Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions