Bluetooth: Don't disable interrupt when locking the queue
authorGustavo F. Padovan <padovan@profusion.mobi>
Thu, 22 Dec 2011 18:35:05 +0000 (16:35 -0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 22 Dec 2011 20:07:01 +0000 (18:07 -0200)
We run everything in process context now.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_core.c

index 4f0ff01dc6808a854b510ba9578dd27240494a50..6d38d80195cb40c43ae6c292a7406e58d64d05b3 100644 (file)
@@ -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);
 
@@ -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);
        }
 }