diff options
Diffstat (limited to 'net/bluetooth/hci_sock.c')
-rw-r--r-- | net/bluetooth/hci_sock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/bluetooth/hci_sock.c b/net/bluetooth/hci_sock.c index d10a724810ec..cd064068d94a 100644 --- a/net/bluetooth/hci_sock.c +++ b/net/bluetooth/hci_sock.c | |||
@@ -535,7 +535,7 @@ static int hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, | |||
535 | 535 | ||
536 | if (test_bit(HCI_RAW, &hdev->flags) || (ogf == 0x3f)) { | 536 | if (test_bit(HCI_RAW, &hdev->flags) || (ogf == 0x3f)) { |
537 | skb_queue_tail(&hdev->raw_q, skb); | 537 | skb_queue_tail(&hdev->raw_q, skb); |
538 | tasklet_schedule(&hdev->tx_task); | 538 | queue_work(hdev->workqueue, &hdev->tx_work); |
539 | } else { | 539 | } else { |
540 | skb_queue_tail(&hdev->cmd_q, skb); | 540 | skb_queue_tail(&hdev->cmd_q, skb); |
541 | queue_work(hdev->workqueue, &hdev->cmd_work); | 541 | queue_work(hdev->workqueue, &hdev->cmd_work); |
@@ -547,7 +547,7 @@ static int hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, | |||
547 | } | 547 | } |
548 | 548 | ||
549 | skb_queue_tail(&hdev->raw_q, skb); | 549 | skb_queue_tail(&hdev->raw_q, skb); |
550 | tasklet_schedule(&hdev->tx_task); | 550 | queue_work(hdev->workqueue, &hdev->tx_work); |
551 | } | 551 | } |
552 | 552 | ||
553 | err = len; | 553 | err = len; |