diff options
Diffstat (limited to 'net/bluetooth/hci_event.c')
-rw-r--r-- | net/bluetooth/hci_event.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index beea9dbb6562..014fc8b320ba 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -1601,7 +1601,8 @@ static inline void hci_remote_ext_features_evt(struct hci_dev *hdev, struct sk_b | |||
1601 | 1601 | ||
1602 | if (conn->state == BT_CONFIG) { | 1602 | if (conn->state == BT_CONFIG) { |
1603 | if (!ev->status && hdev->ssp_mode > 0 && | 1603 | if (!ev->status && hdev->ssp_mode > 0 && |
1604 | conn->ssp_mode > 0 && conn->out) { | 1604 | conn->ssp_mode > 0 && conn->out && |
1605 | conn->sec_level != BT_SECURITY_SDP) { | ||
1605 | struct hci_cp_auth_requested cp; | 1606 | struct hci_cp_auth_requested cp; |
1606 | cp.handle = ev->handle; | 1607 | cp.handle = ev->handle; |
1607 | hci_send_cmd(hdev, HCI_OP_AUTH_REQUESTED, | 1608 | hci_send_cmd(hdev, HCI_OP_AUTH_REQUESTED, |