|
@@ -937,7 +937,7 @@ static void hci_power_on(struct work_struct *work)
|
|
return;
|
|
return;
|
|
|
|
|
|
if (test_bit(HCI_AUTO_OFF, &hdev->flags))
|
|
if (test_bit(HCI_AUTO_OFF, &hdev->flags))
|
|
- queue_delayed_work(hdev->workqueue, &hdev->power_off,
|
|
|
|
|
|
+ schedule_delayed_work(&hdev->power_off,
|
|
msecs_to_jiffies(AUTO_OFF_TIMEOUT));
|
|
msecs_to_jiffies(AUTO_OFF_TIMEOUT));
|
|
|
|
|
|
if (test_and_clear_bit(HCI_SETUP, &hdev->flags))
|
|
if (test_and_clear_bit(HCI_SETUP, &hdev->flags))
|