]> Pileus Git - ~andy/linux/blobdiff - net/bluetooth/hci_event.c
Merge branch 'sched-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[~andy/linux] / net / bluetooth / hci_event.c
index e99fe385fba293d6a7fe2c558b7d454f669f52b8..28517bad796c3181251bf76b1ddc459090d45deb 100644 (file)
@@ -1320,7 +1320,7 @@ static inline void hci_cmd_complete_evt(struct hci_dev *hdev, struct sk_buff *sk
        if (ev->ncmd) {
                atomic_set(&hdev->cmd_cnt, 1);
                if (!skb_queue_empty(&hdev->cmd_q))
-                       hci_sched_cmd(hdev);
+                       tasklet_schedule(&hdev->cmd_task);
        }
 }
 
@@ -1386,7 +1386,7 @@ static inline void hci_cmd_status_evt(struct hci_dev *hdev, struct sk_buff *skb)
        if (ev->ncmd) {
                atomic_set(&hdev->cmd_cnt, 1);
                if (!skb_queue_empty(&hdev->cmd_q))
-                       hci_sched_cmd(hdev);
+                       tasklet_schedule(&hdev->cmd_task);
        }
 }
 
@@ -1454,7 +1454,7 @@ static inline void hci_num_comp_pkts_evt(struct hci_dev *hdev, struct sk_buff *s
                }
        }
 
-       hci_sched_tx(hdev);
+       tasklet_schedule(&hdev->tx_task);
 
        tasklet_enable(&hdev->tx_task);
 }