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

Commit e97208ac authored by Chris Manton's avatar Chris Manton Committed by Gerrit Code Review
Browse files

Merge "headless: Iterate properties properly"

parents 7a736e67 03bf5369
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);
    }
  }