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

Commit 2e1c816c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "GD-HCI: Write empty value to storage instead of nullptr"

parents 5e04cf94 ceebba9b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2587,7 +2587,8 @@ void btif_dm_save_ble_bonding_keys(RawAddress& bd_addr) {
  }

  if (pairing_cb.ble.is_lidk_key_rcvd) {
    btif_storage_add_ble_bonding_key(&bd_addr, NULL, BTIF_DM_LE_KEY_LID, 0);
    uint8_t empty[] = {};
    btif_storage_add_ble_bonding_key(&bd_addr, empty, BTIF_DM_LE_KEY_LID, 0);
  }
}