diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2022-03-02 22:02:45 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-03-03 13:30:03 +0100 |
commit | 008ee9eb8a11bcabf12c91771dd4f470b082bd44 (patch) | |
tree | 45c747c2e8595b8b5e98bc15854e2aa1b39899fb /drivers | |
parent | Bluetooth: hci_core: Fix unbalanced unlock in set_device_flags() (diff) | |
download | linux-008ee9eb8a11bcabf12c91771dd4f470b082bd44.tar.xz linux-008ee9eb8a11bcabf12c91771dd4f470b082bd44.zip |
Bluetooth: hci_sync: Fix not processing all entries on cmd_sync_work
hci_cmd_sync_queue can be called multiple times, each adding a
hci_cmd_sync_work_entry, before hci_cmd_sync_work is run so this makes
sure they are all dequeued properly otherwise it creates a backlog of
entries that are never run.
Link: https://lore.kernel.org/all/CAJCQCtSeUtHCgsHXLGrSTWKmyjaQDbDNpP4rb0i+RE+L2FTXSA@mail.gmail.com/T/
Fixes: 6a98e3836fa20 ("Bluetooth: Add helper for serialized HCI command execution")
Tested-by: Chris Clayton <chris2553@googlemail.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions