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

Commit 03772607 authored by Martin Brabham's avatar Martin Brabham Committed by Automerger Merge Worker
Browse files

OOB: Connector; Set name of remote from OOB data am: 0e11823b

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

Change-Id: I4d0ee475c3965a560f88baa6faf84e3d817c2398
parents 29e32c38 0e11823b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2937,8 +2937,9 @@ static void btif_dm_ble_sc_oob_req_evt(tBTA_DM_SP_RMT_OOB* req_oob_type) {
  }

  /* Remote name update */
  btif_update_remote_properties(req_oob_type->bd_addr, req_oob_type->bd_name,
                                NULL, BT_DEVICE_TYPE_BLE);
  btif_update_remote_properties(req_oob_type->bd_addr,
                                oob_data_to_use.device_name, NULL,
                                BT_DEVICE_TYPE_BLE);

  bond_state_changed(BT_STATUS_SUCCESS, bd_addr, BT_BOND_STATE_BONDING);
  pairing_cb.is_ssp = false;