aboutsummaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2010-05-05 21:09:15 -0400
committerMarcel Holtmann <marcel@holtmann.org>2010-05-10 03:28:52 -0400
commitff12fd643334071084b6145cad3793bb6c956638 (patch)
tree679aae33d153d157643b9d90ae45357c0d7cbd6b /net/bluetooth
parent9b16dc6551cbde65d0ac525af3c46efab53a2c46 (diff)
Bluetooth: Fix lockdep annotation on ERTM
A spin_lock_init() call was missing. :) Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi> Reviewed-by: João Paulo Rechi Vita <jprvita@profusion.mobi> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/bluetooth')
-rw-r--r--net/bluetooth/l2cap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c
index eb5cb29115a7..6b08f4d7c873 100644
--- a/net/bluetooth/l2cap.c
+++ b/net/bluetooth/l2cap.c
@@ -1622,7 +1622,7 @@ static inline int l2cap_sar_segment_sdu(struct sock *sk, struct msghdr *msg, siz
1622 u16 control; 1622 u16 control;
1623 size_t size = 0; 1623 size_t size = 0;
1624 1624
1625 __skb_queue_head_init(&sar_queue); 1625 skb_queue_head_init(&sar_queue);
1626 control = L2CAP_SDU_START; 1626 control = L2CAP_SDU_START;
1627 skb = l2cap_create_iframe_pdu(sk, msg, pi->remote_mps, control, len); 1627 skb = l2cap_create_iframe_pdu(sk, msg, pi->remote_mps, control, len);
1628 if (IS_ERR(skb)) 1628 if (IS_ERR(skb))