Bluetooth: hci_vhci: Fix calling hci_{suspend,resume}_dev
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Wed, 6 Oct 2021 01:09:33 +0000 (18:09 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 6 Oct 2021 08:48:34 +0000 (10:48 +0200)
commitd16e6d19ccc6d3aa6b96d6a8fdb9e04fb9dffdbd
treeec08e326a89a1698eb6356ac524ed5802277ed5f
parentd0f1c248b4ff71cada1b9e4ed61a1992cd94c3df
Bluetooth: hci_vhci: Fix calling hci_{suspend,resume}_dev

Defer calls to hci_{suspend,resume}_dev to work so it doesn't block the
processing of the events.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_vhci.c