summaryrefslogtreecommitdiffstats
path: root/lib/locking-selftest-rlock-softirq.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-02-28 08:33:44 +0100
committerMarcel Holtmann <marcel@holtmann.org>2014-02-28 08:41:07 +0100
commita3172b7eb4a2719711187cfca12097d2326e85a7 (patch)
treefc5191af513e40eac0ba1af3728fe7a0afe120be /lib/locking-selftest-rlock-softirq.h
parentBluetooth: Fix disconnecting connections in non-connected states (diff)
downloadlinux-a3172b7eb4a2719711187cfca12097d2326e85a7.tar.xz
linux-a3172b7eb4a2719711187cfca12097d2326e85a7.zip
Bluetooth: Add timer to force power off
If some of the cleanup commands caused by mgmt_set_powered(off) never complete we should still force the adapter to be powered down. This is rather easy to do since hdev->power_off is already a delayed work struct. This patch schedules this delayed work if at least one HCI command was sent by the cleanup procedure. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'lib/locking-selftest-rlock-softirq.h')
0 files changed, 0 insertions, 0 deletions