Bluetooth: Introduce force_bredr_smp debugfs option for testing
[deliverable/linux.git] / net / bluetooth / l2cap_core.c
index d04dc009573691cde515d1db82c13cbfd11a459f..11029b212874c6bb70d9b1c53dc987459ece2bfe 100644 (file)
@@ -6968,7 +6968,7 @@ static struct l2cap_conn *l2cap_conn_add(struct hci_conn *hcon)
 
        if (test_bit(HCI_LE_ENABLED, &hcon->hdev->dev_flags) &&
            (bredr_sc_enabled(hcon->hdev) ||
-            test_bit(HCI_FORCE_LESC, &hcon->hdev->dbg_flags)))
+            test_bit(HCI_FORCE_BREDR_SMP, &hcon->hdev->dbg_flags)))
                conn->local_fixed_chan |= L2CAP_FC_SMP_BREDR;
 
        mutex_init(&conn->ident_lock);
This page took 0.028267 seconds and 5 git commands to generate.