diff options
author | Alain Michaud <alainm@chromium.org> | 2022-06-02 17:30:03 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-07-22 02:04:53 +0200 |
commit | 629f66aaca81ad713fb05f1d12acc827510601b3 (patch) | |
tree | 5ca3eab87431eb437bf176260918513b8d9c1348 /include | |
parent | Bluetooth: hci_bcm: Add support for FW loading in autobaud mode (diff) | |
download | linux-629f66aaca81ad713fb05f1d12acc827510601b3.tar.xz linux-629f66aaca81ad713fb05f1d12acc827510601b3.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions