|
@@ -382,11 +382,6 @@ struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8
|
|
acl->sec_level = sec_level;
|
|
acl->sec_level = sec_level;
|
|
acl->auth_type = auth_type;
|
|
acl->auth_type = auth_type;
|
|
hci_acl_connect(acl);
|
|
hci_acl_connect(acl);
|
|
- } else {
|
|
|
|
- if (acl->sec_level < sec_level)
|
|
|
|
- acl->sec_level = sec_level;
|
|
|
|
- if (acl->auth_type < auth_type)
|
|
|
|
- acl->auth_type = auth_type;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
if (type == ACL_LINK)
|
|
if (type == ACL_LINK)
|