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

Commit f31e6f92 authored by Archie Pusaka's avatar Archie Pusaka Committed by Gerrit Code Review
Browse files

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

parents 48bbf9d9 78f64841
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);
}

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