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

Commit 03bf5369 authored by Chris Manton's avatar Chris Manton
Browse files

headless: Iterate properties properly

Bug: 257972065
Test: gd/cert/run
Tag: #refactor
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: I64b4c92f0c148e340c17f6fab538b7d72586dea1
parent c6924058
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ int start_discovery([[maybe_unused]] unsigned int num_loops,
    LOG_CONSOLE("got remote services :%s", params.ToString().c_str());

    for (int i = 0; i < params.num_properties; i++) {
      process_property(params.bd_addr, params.properties);
      process_property(params.bd_addr, params.properties + i);
    }
  }

@@ -145,7 +145,7 @@ int start_discovery([[maybe_unused]] unsigned int num_loops,
    LOG_CONSOLE("got remote services :%s", params.ToString().c_str());

    for (int i = 0; i < params.num_properties; i++) {
      process_property(params.bd_addr, params.properties);
      process_property(params.bd_addr, params.properties + i);
    }
  }