Bluetooth: host: Set encryption pending when LE SC bond exists
Set the SMP flag encryption pending in the case where a bond exists with ediv and rand equal to zero, i.e LE Secure Connections bond. Signed-off-by: Joakim Andersson <joakim.andersson@nordicsemi.no>
This commit is contained in:
parent
0cc5dc1839
commit
6b72e6584c
1 changed files with 1 additions and 0 deletions
|
@ -2808,6 +2808,7 @@ bool bt_smp_request_ltk(struct bt_conn *conn, uint64_t rand, uint16_t ediv, uint
|
|||
BT_SMP_MAX_ENC_KEY_SIZE - enc_size);
|
||||
}
|
||||
|
||||
atomic_set_bit(smp->flags, SMP_FLAG_ENC_PENDING);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue