diff options
author | Scott Lobdell <slobdell@google.com> | 2022-06-13 17:31:27 +0000 |
---|---|---|
committer | Scott Lobdell <slobdell@google.com> | 2022-06-13 17:36:26 +0000 |
commit | 96230268500ca72fd4d4c4cb15c54dbfd268ac89 (patch) | |
tree | ed9f7baeca3035a0e01d0de1b97ee361fbb1cb09 /system/stack/smp/smp_keys.cc | |
parent | 5ccf9c5f1a35b5f4ee2ea952df82dfe6706e043c (diff) | |
parent | 197e748fe27845baab411394ac5aaaae5337663a (diff) |
Merge TP1A.220609.001
Change-Id: I6c3c168fb196a53feb1d2688b74bea4fdbc5b3e8
Diffstat (limited to 'system/stack/smp/smp_keys.cc')
-rw-r--r-- | system/stack/smp/smp_keys.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/stack/smp/smp_keys.cc b/system/stack/smp/smp_keys.cc index 8add0a9546..ac9f67423f 100644 --- a/system/stack/smp/smp_keys.cc +++ b/system/stack/smp/smp_keys.cc @@ -533,7 +533,7 @@ static void smp_generate_ltk_cont(uint16_t div, tSMP_CB* p_cb) { void smp_generate_ltk(tSMP_CB* p_cb, UNUSED_ATTR tSMP_INT_DATA* p_data) { SMP_TRACE_DEBUG("%s", __func__); - if (p_cb->smp_over_br) { + if (smp_get_br_state() == SMP_BR_STATE_BOND_PENDING) { smp_br_process_link_key(p_cb, NULL); return; } else if (p_cb->le_secure_connections_mode_is_used) { |