Bluetooth: Rename HCI_BREDR into HCI_PRIMARY
[cascardo/linux.git] / net / bluetooth / l2cap_core.c
index eb4f5f2..54ceb1f 100644 (file)
@@ -7468,7 +7468,7 @@ void l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags)
        int len;
 
        /* For AMP controller do not create l2cap conn */
-       if (!conn && hcon->hdev->dev_type != HCI_BREDR)
+       if (!conn && hcon->hdev->dev_type != HCI_PRIMARY)
                goto drop;
 
        if (!conn)