Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279276
b: refs/heads/master
c: 80b7ab3
h: refs/heads/master
v: v3
  • Loading branch information
Gustavo F. Padovan committed Dec 18, 2011
1 parent 1c4147b commit 54f5b6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3d57dc6806599ca7d389fc9410eefbc1a7dc32bc
refs/heads/master: 80b7ab33414beeb3c17600af9b69d903f5cf8a7d
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,7 +937,7 @@ static void hci_power_on(struct work_struct *work)
return;

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));

if (test_and_clear_bit(HCI_SETUP, &hdev->flags))
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/bluetooth/mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ static int set_powered(struct sock *sk, u16 index, unsigned char *data, u16 len)
if (cp->val)
queue_work(hdev->workqueue, &hdev->power_on);
else
queue_work(hdev->workqueue, &hdev->power_off.work);
schedule_work(&hdev->power_off.work);

err = 0;

Expand Down

0 comments on commit 54f5b6b

Please sign in to comment.