diff options
author | Archie Pusaka <apusaka@chromium.org> | 2022-08-23 07:39:22 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-08-26 02:22:06 +0300 |
commit | 5356266552bbaaddb8d6b4b53450e290be2cd717 (patch) | |
tree | 0f74343cb48a99f30b6b015f782ab9d4440e7126 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b5e1acea065fa1339f4049c2bd9782889dc68368 (diff) | |
download | linux-5356266552bbaaddb8d6b4b53450e290be2cd717.tar.xz |
Bluetooth: hci_event: Fix checking conn for le_conn_complete_evt
To prevent multiple conn complete events, we shouldn't look up the
conn with hci_lookup_le_connect, since it requires the state to be
BT_CONNECT. By the time the duplicate event is processed, the state
might have changed, so we end up processing the new event anyway.
Change the lookup function to hci_conn_hash_lookup_ba.
Fixes: d5ebaa7c5f6f6 ("Bluetooth: hci_event: Ignore multiple conn complete events")
Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions