diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hci_event.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/bluetooth/hci_event.c b/net/bluetooth/hci_event.c index 04967248f899..8db3e89fae35 100644 --- a/net/bluetooth/hci_event.c +++ b/net/bluetooth/hci_event.c | |||
@@ -3561,6 +3561,8 @@ static void hci_le_ltk_request_evt(struct hci_dev *hdev, struct sk_buff *skb) | |||
3561 | else | 3561 | else |
3562 | conn->pending_sec_level = BT_SECURITY_MEDIUM; | 3562 | conn->pending_sec_level = BT_SECURITY_MEDIUM; |
3563 | 3563 | ||
3564 | conn->enc_key_size = ltk->enc_size; | ||
3565 | |||
3564 | hci_send_cmd(hdev, HCI_OP_LE_LTK_REPLY, sizeof(cp), &cp); | 3566 | hci_send_cmd(hdev, HCI_OP_LE_LTK_REPLY, sizeof(cp), &cp); |
3565 | 3567 | ||
3566 | if (ltk->type & HCI_SMP_STK) { | 3568 | if (ltk->type & HCI_SMP_STK) { |