Loading system/stack/btm/btm_ble_sec.cc +4 −0 Original line number Diff line number Diff line Loading @@ -1143,6 +1143,10 @@ tBTM_STATUS btm_ble_set_encryption(const RawAddress& bd_addr, tBTM_BLE_SEC_ACT s switch (sec_act) { case BTM_BLE_SEC_ENCRYPT: if (p_rec->sec_rec.is_le_device_encrypted()) { return tBTM_STATUS::BTM_SUCCESS; } if (link_role == HCI_ROLE_CENTRAL) { /* start link layer encryption using the security info stored */ cmd = btm_ble_start_encrypt(bd_addr, false, NULL); Loading Loading
system/stack/btm/btm_ble_sec.cc +4 −0 Original line number Diff line number Diff line Loading @@ -1143,6 +1143,10 @@ tBTM_STATUS btm_ble_set_encryption(const RawAddress& bd_addr, tBTM_BLE_SEC_ACT s switch (sec_act) { case BTM_BLE_SEC_ENCRYPT: if (p_rec->sec_rec.is_le_device_encrypted()) { return tBTM_STATUS::BTM_SUCCESS; } if (link_role == HCI_ROLE_CENTRAL) { /* start link layer encryption using the security info stored */ cmd = btm_ble_start_encrypt(bd_addr, false, NULL); Loading