diff options
author | Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com> | 2022-04-26 11:18:23 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-05-13 14:05:49 +0300 |
commit | ff7f2926114d3a50f5ffe461a9bce8d761748da5 (patch) | |
tree | 219c8445a587f1c33bb93442f53e92fd9a5d4830 /drivers/iommu | |
parent | 4622594766d0bc96d04079a96e13eb58f3f799f2 (diff) | |
download | linux-ff7f2926114d3a50f5ffe461a9bce8d761748da5.tar.xz |
Bluetooth: core: Fix missing power_on work cancel on HCI close
Move power_on work cancel to hci_dev_close_sync to ensure that power_on
work is canceled after HCI interface down, power off, rfkill, etc.
For example, if
hciconfig hci0 down
is done early enough during boot, it may run before power_on work.
Then, power_on work will actually bring up interface despite above
hciconfig command.
Signed-off-by: Vasyl Vavrychuk <vasyl.vavrychuk@opensynergy.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/iommu')
0 files changed, 0 insertions, 0 deletions