aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/l2cap_core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 8faa3121bb44..99176730bf2c 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -5571,6 +5571,10 @@ int l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
5571 struct l2cap_hdr *hdr; 5571 struct l2cap_hdr *hdr;
5572 int len; 5572 int len;
5573 5573
5574 /* For AMP controller do not create l2cap conn */
5575 if (!conn && hcon->hdev->dev_type != HCI_BREDR)
5576 goto drop;
5577
5574 if (!conn) 5578 if (!conn)
5575 conn = l2cap_conn_add(hcon, 0); 5579 conn = l2cap_conn_add(hcon, 0);
5576 5580