Bluetooth: Schedule HCI_TX task after connection cleanup

After ACL  disconnection and removal of pending acl
acknowledgement, we have to schedule HCI_TX task. This will
allow other active connection to send ACL packets.

Change-Id: I3ddf61a3c7ff149b05e963159e10af0ab6ef6143
Signed-off-by: AnubhavGupta <anubhavg@codeaurora.org>
This commit is contained in:
AnubhavGupta
2011-12-17 17:14:51 +05:30
parent a1d36c34cf
commit 01d9e363d8

View File

@@ -459,6 +459,8 @@ int hci_conn_del(struct hci_conn *conn)
if (hdev->notify) if (hdev->notify)
hdev->notify(hdev, HCI_NOTIFY_CONN_DEL); hdev->notify(hdev, HCI_NOTIFY_CONN_DEL);
tasklet_schedule(&hdev->tx_task);
tasklet_enable(&hdev->tx_task); tasklet_enable(&hdev->tx_task);
skb_queue_purge(&conn->data_q); skb_queue_purge(&conn->data_q);