From: Johan Hedberg Date: Fri, 28 Feb 2014 07:33:44 +0000 (+0200) Subject: Bluetooth: Add timer to force power off X-Git-Tag: v3.15-rc1~113^2~159^2^2~37^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3172b7eb4a2719711187cfca12097d2326e85a7;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed