summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorAlain Michaud <alainm@chromium.org>2022-06-02 15:30:03 +0000
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-07-21 17:04:53 -0700
commit629f66aaca81ad713fb05f1d12acc827510601b3 (patch)
tree5ca3eab87431eb437bf176260918513b8d9c1348 /scripts/patch-kernel
parentaf35e28f0fea877832fa27802bc862b2a912f32a (diff)
Bluetooth: clear the temporary linkkey in hci_conn_cleanup
If a hardware error occurs and the connections are flushed without a disconnection_complete event being signaled, the temporary linkkeys are not flushed. This change ensures that any outstanding flushable linkkeys are flushed when the connection are flushed from the hash table. Additionally, this also makes use of test_and_clear_bit to avoid multiple attempts to delete the link key that's already been flushed. Signed-off-by: Alain Michaud <alainm@chromium.org> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions