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

Commit 20cc229f authored by Jinguang Dong's avatar Jinguang Dong Committed by android-build-merger
Browse files

Do not delete device record on HCI_ERR_KEY_MISSING am: 1d8d17ab

am: 6f56d751

Change-Id: I571bc39274f4f99663948789b323eba6c598b5f6
parents b5b1d293 6f56d751
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2590,7 +2590,8 @@ static uint8_t bta_dm_authentication_complete_cback(

    if (result != HCI_ERR_LMP_RESPONSE_TIMEOUT &&
        result != HCI_ERR_PAGE_TIMEOUT &&
        result != HCI_ERR_CONN_FAILED_ESTABLISHMENT) {
        result != HCI_ERR_CONN_FAILED_ESTABLISHMENT &&
        result != HCI_ERR_KEY_MISSING) {
      bta_dm_remove_sec_dev_entry(bd_addr);
    }
  }