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

Commit d2b8f4f9 authored by Nitin Arora's avatar Nitin Arora Committed by android-build-merger
Browse files

Merge "Clear BLE block from device records at unpair" into nyc-dev

am: ca58249b

* commit 'ca58249b':
  Clear BLE block from device records at unpair

Change-Id: Iee861ef44ca133bf4d2c0a1604a134d86a8c202d
parents 4c830e38 ca58249b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -301,6 +301,8 @@ void btm_sec_free_dev (tBTM_SEC_DEV_REC *p_dev_rec)
#if BLE_INCLUDED == TRUE
    /* Clear out any saved BLE keys */
    btm_sec_clear_ble_keys (p_dev_rec);
    /* clear the ble block */
    memset(&p_dev_rec->ble, 0, sizeof(tBTM_SEC_BLE));
#endif