Skip to content

Commit 80c1e69

Browse files
MarkWangChinesedanieldegrasse
authored andcommitted
bluetooth: smp: add todo comments for ctkd
need to consider corner cases of ctkd as the added code comments. Signed-off-by: Mark Wang <yichang.wang@nxp.com>
1 parent 81d9386 commit 80c1e69

File tree

1 file changed

+5
-0
lines changed
  • subsys/bluetooth/host

1 file changed

+5
-0
lines changed

subsys/bluetooth/host/smp.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1579,6 +1579,11 @@ static uint8_t smp_br_ident_addr_info(struct bt_smp_br *smp,
15791579

15801580
/* if all keys were distributed, pairing is done */
15811581
if (!smp->local_dist && !smp->remote_dist) {
1582+
/* TODO: consider the follow cases (BLE to BR derivation need to consider them too):
1583+
* (1) the ble connection is already encrypted, then the new LTK is derived.
1584+
* (2) the ble connection is not encrypted, the LTK is derived,
1585+
* how to trigger the BLE encryption.
1586+
*/
15821587
smp_pairing_br_complete(smp, 0);
15831588
}
15841589

0 commit comments

Comments
 (0)