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

Commit 0602552e authored by Myles Watson's avatar Myles Watson
Browse files

[ALPS08129411] Log LeSubrateRequest failures

Bug: 328841642
Test: mma -j32
Flag: EXEMPT, logging-change
Change-Id: Ifccf5ef9bf8424634e587c98b4d55bb2248b3ba1
parent 0444604e
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -976,9 +976,12 @@ struct shim::legacy::Acl::impl {

  void LeSubrateRequest(HciHandle handle, uint16_t subrate_min, uint16_t subrate_max,
                        uint16_t max_latency, uint16_t cont_num, uint16_t sup_tout) {
    log::assert_that(IsLeAcl(handle), "handle {} is not a LE connection", handle);
    if (IsLeAcl(handle)) {
      handle_to_le_connection_map_[handle]->LeSubrateRequest(subrate_min, subrate_max, max_latency,
                                                             cont_num, sup_tout);
    } else {
      log::info("handle {} is not a LE connection", handle);
    }
  }

  void SetConnectionEncryption(HciHandle handle, hci::Enable enable) {