aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/bluetooth/l2cap_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index d47de2b04b2e..8cfa2a663028 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -3609,7 +3609,7 @@ drop:
3609static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk_buff *skb) 3609static inline int l2cap_data_channel(struct l2cap_conn *conn, u16 cid, struct sk_buff *skb)
3610{ 3610{
3611 struct l2cap_chan *chan; 3611 struct l2cap_chan *chan;
3612 struct sock *sk; 3612 struct sock *sk = NULL;
3613 struct l2cap_pinfo *pi; 3613 struct l2cap_pinfo *pi;
3614 u16 control; 3614 u16 control;
3615 u8 tx_seq; 3615 u8 tx_seq;