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

Commit 47912342 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Gerrit Code Review
Browse files

Merge "Add log entry to interop_match_name()"

parents 2ee9e615 dd40eb5a
Loading
Loading
Loading
Loading
+3 −1
Original line number Original line Diff line number Diff line
@@ -50,7 +50,7 @@ bool interop_match_addr(const interop_feature_t feature,


  if (interop_match_fixed_(feature, addr) ||
  if (interop_match_fixed_(feature, addr) ||
      interop_match_dynamic_(feature, addr)) {
      interop_match_dynamic_(feature, addr)) {
    LOG_WARN(LOG_TAG, "%s() Device %s is a match for interop workaround %s.",
    LOG_INFO(LOG_TAG, "%s() Device %s is a match for interop workaround %s.",
             __func__, addr->ToString().c_str(),
             __func__, addr->ToString().c_str(),
             interop_feature_string_(feature));
             interop_feature_string_(feature));
    return true;
    return true;
@@ -69,6 +69,8 @@ bool interop_match_name(const interop_feature_t feature, const char* name) {
        strlen(name) >= interop_name_database[i].length &&
        strlen(name) >= interop_name_database[i].length &&
        strncmp(name, interop_name_database[i].name,
        strncmp(name, interop_name_database[i].name,
                interop_name_database[i].length) == 0) {
                interop_name_database[i].length) == 0) {
      LOG_INFO(LOG_TAG, "%s() Device %s is a match for interop workaround %s.",
             __func__, name, interop_feature_string_(feature));
      return true;
      return true;
    }
    }
  }
  }