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

Commit 1ecf834b authored by Archie Pusaka's avatar Archie Pusaka Committed by Automerger Merge Worker
Browse files

Merge "Set is_local_initialized before calling BTA_DmBond() in btif" into main am: f31e6f92

parents 3d4c610c f31e6f92
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -808,9 +808,9 @@ static void btif_dm_cb_create_bond(const RawAddress bd_addr, tBT_TRANSPORT trans
    BTA_DmAddBleDevice(bd_addr, addr_type, static_cast<tBT_DEVICE_TYPE>(device_type));
  }

  BTA_DmBond(bd_addr, addr_type, transport, device_type);
  /*  Track originator of bond creation  */
  pairing_cb.is_local_initiated = true;
  BTA_DmBond(bd_addr, addr_type, transport, device_type);
}

/*******************************************************************************