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

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

Merge "Save reversed BR/EDR link key derived from LE LTK"

parents b43531ea d102f576
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -987,7 +987,8 @@ bool smp_calculate_link_key_from_long_term_key(tSMP_CB* p_cb) {

  link_key_type += BTM_LTK_DERIVED_LKEY_OFFSET;

  Octet16 notif_link_key = link_key;
  Octet16 notif_link_key;
  std::reverse_copy(link_key.begin(), link_key.end(), notif_link_key.begin());
  btm_sec_link_key_notification(bda_for_lk, notif_link_key, link_key_type);

  SMP_TRACE_EVENT("%s is completed", __func__);