From 01d9e363d80e57a1dbb44c9f81280f69f85c20be Mon Sep 17 00:00:00 2001 From: AnubhavGupta Date: Sat, 17 Dec 2011 17:14:51 +0530 Subject: [PATCH] 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 --- net/bluetooth/hci_conn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 95718bbc902..25b80df871e 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c @@ -459,6 +459,8 @@ int hci_conn_del(struct hci_conn *conn) if (hdev->notify) hdev->notify(hdev, HCI_NOTIFY_CONN_DEL); + tasklet_schedule(&hdev->tx_task); + tasklet_enable(&hdev->tx_task); skb_queue_purge(&conn->data_q);