summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorArchie Pusaka <apusaka@chromium.org>2022-08-23 07:39:22 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-08-26 02:26:18 +0300
commitf48735a9aaf8258f39918e13adf464ccd7dce33b (patch)
treebbe4ec39b50570a6ef385c89e300c67508485250 /tools/perf/scripts/python/export-to-postgresql.py
parentc572909376673d8c126ae2ee53ba754ff9327d98 (diff)
downloadlinux-f48735a9aaf8258f39918e13adf464ccd7dce33b.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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions