Commit af3e6359 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

Bluetooth: Don't disable interrupt when locking the queue

We run everything in process context now.
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent f20d09d5
...@@ -1960,7 +1960,7 @@ static void hci_queue_acl(struct hci_conn *conn, struct sk_buff_head *queue, ...@@ -1960,7 +1960,7 @@ static void hci_queue_acl(struct hci_conn *conn, struct sk_buff_head *queue,
skb_shinfo(skb)->frag_list = NULL; skb_shinfo(skb)->frag_list = NULL;
/* Queue all fragments atomically */ /* Queue all fragments atomically */
spin_lock_bh(&queue->lock); spin_lock(&queue->lock);
__skb_queue_tail(queue, skb); __skb_queue_tail(queue, skb);
...@@ -1978,7 +1978,7 @@ static void hci_queue_acl(struct hci_conn *conn, struct sk_buff_head *queue, ...@@ -1978,7 +1978,7 @@ static void hci_queue_acl(struct hci_conn *conn, struct sk_buff_head *queue,
__skb_queue_tail(queue, skb); __skb_queue_tail(queue, skb);
} while (list); } while (list);
spin_unlock_bh(&queue->lock); spin_unlock(&queue->lock);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment