diff options
author | Benjamin Berg <bberg@redhat.com> | 2021-12-03 17:58:59 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-12-03 21:41:59 +0300 |
commit | ae422391e17d30a2fb1d0968142dcd1e4cdc172a (patch) | |
tree | 5f19ae66b4ba2da658d22710ca5b0edf8588dc91 /net/bluetooth/hci_sync.c | |
parent | dbf6811abbfcc79d3cd5ce1ff53fe1c741167a1f (diff) | |
download | linux-ae422391e17d30a2fb1d0968142dcd1e4cdc172a.tar.xz |
Bluetooth: Reset more state when cancelling a sync command
Resetting the timers and cmd_cnt means that we assume the device will be
in a good state after the sync command finishes. Without this a chain of
synchronous commands might get stuck if one of them is cancelled.
Signed-off-by: Benjamin Berg <bberg@redhat.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/bluetooth/hci_sync.c')
0 files changed, 0 insertions, 0 deletions