Browse Source

Bluetooth: Don't disable interrupt when locking the queue

We run everything in process context now.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Gustavo F. Padovan 13 years ago
parent
commit
af3e6359a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      net/bluetooth/hci_core.c

+ 2 - 2
net/bluetooth/hci_core.c

@@ -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,
 			__skb_queue_tail(queue, skb);
 			__skb_queue_tail(queue, skb);
 		} while (list);
 		} while (list);
 
 
-		spin_unlock_bh(&queue->lock);
+		spin_unlock(&queue->lock);
 	}
 	}
 }
 }