Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c513cc06 authored by li-wei.cheng's avatar li-wei.cheng Committed by Automerger Merge Worker
Browse files

Return after removing sample LTK device am: 0a1eb466

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/12325453

Change-Id: I7bb17e11a74ed992191cd446408ee7bef4b984de
parents 87e4e8ac 0a1eb466
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4707,6 +4707,7 @@ void btm_sec_disconnected(uint16_t handle, uint8_t reason) {
    tBTA_DM_MSG p_data;
    memcpy(p_data.remove_dev.bd_addr, p_dev_rec->bd_addr, BD_ADDR_LEN);
    bta_dm_remove_device(&p_data);
    return;
  }

  if (p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING_BOTH) {