diff options
author | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-14 23:53:47 -0200 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-12-18 17:07:57 -0200 |
commit | c347b765fe70d718c721cd6d0b979cfbaed83125 (patch) | |
tree | f7ab6413eda30d7741173738f6ab1ad5a69c9161 /net/bluetooth/hci_sock.c | |
parent | 3c54711c4fd103edf2044ab60726939f1de02b0c (diff) | |
download | blackbird-obmc-linux-c347b765fe70d718c721cd6d0b979cfbaed83125.tar.gz blackbird-obmc-linux-c347b765fe70d718c721cd6d0b979cfbaed83125.zip |
Bluetooth: Move command task to workqueue
As part of the moving on all the Bluetooth processing to Process context.
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r-- | net/bluetooth/hci_sock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index 399be345ea22..d10a724810ec 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c @@ -538,7 +538,7 @@ static int hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, tasklet_schedule(&hdev->tx_task); } else { skb_queue_tail(&hdev->cmd_q, skb); - tasklet_schedule(&hdev->cmd_task); + queue_work(hdev->workqueue, &hdev->cmd_work); } } else { if (!capable(CAP_NET_RAW)) { |