Skip to content

Commit

Permalink
Bluetooth: Don't disable interrupt when locking the queue
Browse files Browse the repository at this point in the history
We run everything in process context now.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Gustavo F. Padovan committed Dec 22, 2011
1 parent f20d09d commit af3e635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/bluetooth/hci_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,7 @@ static void hci_queue_acl(struct hci_conn *conn, struct sk_buff_head *queue,
skb_shinfo(skb)->frag_list = NULL;

/* Queue all fragments atomically */
spin_lock_bh(&queue->lock);
spin_lock(&queue->lock);

__skb_queue_tail(queue, skb);

Expand All @@ -1978,7 +1978,7 @@ static void hci_queue_acl(struct hci_conn *conn, struct sk_buff_head *queue,
__skb_queue_tail(queue, skb);
} while (list);

spin_unlock_bh(&queue->lock);
spin_unlock(&queue->lock);
}
}

Expand Down

0 comments on commit af3e635

Please sign in to comment.