Bluetooth: Fix initial security level of LE links
[pandora-kernel.git] / net / bluetooth / hci_event.c
index 166fa11..21d6055 100644 (file)
@@ -2753,6 +2753,7 @@ static inline void hci_le_conn_complete_evt(struct hci_dev *hdev, struct sk_buff
 
        mgmt_connected(hdev->id, &ev->bdaddr);
 
+       conn->sec_level = BT_SECURITY_LOW;
        conn->handle = __le16_to_cpu(ev->handle);
        conn->state = BT_CONNECTED;