diff options
-rw-r--r-- | net/bluetooth/hci_conn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/bluetooth/hci_conn.c b/net/bluetooth/hci_conn.c index 6b90a4191734..65a3fb5678eb 100644 --- a/net/bluetooth/hci_conn.c +++ b/net/bluetooth/hci_conn.c | |||
@@ -382,11 +382,6 @@ struct hci_conn *hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst, __u8 | |||
382 | acl->sec_level = sec_level; | 382 | acl->sec_level = sec_level; |
383 | acl->auth_type = auth_type; | 383 | acl->auth_type = auth_type; |
384 | hci_acl_connect(acl); | 384 | hci_acl_connect(acl); |
385 | } else { | ||
386 | if (acl->sec_level < sec_level) | ||
387 | acl->sec_level = sec_level; | ||
388 | if (acl->auth_type < auth_type) | ||
389 | acl->auth_type = auth_type; | ||
390 | } | 385 | } |
391 | 386 | ||
392 | if (type == ACL_LINK) | 387 | if (type == ACL_LINK) |