diff options
author | Andre Guedes <andre.guedes@openbossa.org> | 2012-01-02 19:18:11 -0300 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2012-01-02 22:30:10 -0200 |
commit | d084329e2862922bbc9a2de04a5c8e7219bfceb9 (patch) | |
tree | 80552018470ccfe5c0fd2bdc51e9cb4c9b4db0f4 /net | |
parent | c1b9b4f45f014093231c568be9b5c2e392943696 (diff) | |
download | kernel_goldelico_gta04-d084329e2862922bbc9a2de04a5c8e7219bfceb9.zip kernel_goldelico_gta04-d084329e2862922bbc9a2de04a5c8e7219bfceb9.tar.gz kernel_goldelico_gta04-d084329e2862922bbc9a2de04a5c8e7219bfceb9.tar.bz2 |
Bluetooth: Queue adv_work on system workqueue
This patch queues hdev->adv_work on the system-wide workqueue
instead of on hdev->workqueue. This way we keep only tx/rx works
on hdev->workqueue.
Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hci_event.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 444ca41..08c0b42 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c @@ -1054,8 +1054,7 @@ static void hci_cc_le_set_scan_enable(struct hci_dev *hdev, case LE_SCANNING_DISABLED: clear_bit(HCI_LE_SCAN, &hdev->dev_flags); - queue_delayed_work(hdev->workqueue, &hdev->adv_work, - ADV_CLEAR_TIMEOUT); + schedule_delayed_work(&hdev->adv_work, ADV_CLEAR_TIMEOUT); break; default: |