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

Commit 125633f2 authored by Chris Manton's avatar Chris Manton
Browse files

stack::rnr::btm_initiate_rem_name [5/5] Extract ACL_RemoteNameRequest

Bug: 354452689
Test: m .
Flag: EXEMPT, Mechanical Refactor

Change-Id: Ib023ef2ecffbdc591ea142b4e92c491564d5853f
parent 22ac9489
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -1882,12 +1882,10 @@ tBTM_STATUS btm_initiate_rem_name(const RawAddress& remote_bda, uint64_t timeout
      page_scan_rep_mode = HCI_PAGE_SCAN_REP_MODE_R1;
    }
    page_scan_mode = p_cur->results.page_scan_mode;
  }

  bluetooth::shim::ACL_RemoteNameRequest(remote_bda, page_scan_rep_mode, page_scan_mode,
                                         clock_offset);
  } else {
    bluetooth::shim::ACL_RemoteNameRequest(remote_bda, page_scan_rep_mode, page_scan_mode,
                                           clock_offset);
  }

  btm_cb.rnr.p_remname_cmpl_cb = p_cb;
  btm_cb.rnr.remname_bda = remote_bda;