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

Commit 2786fed5 authored by Thomas Girardier's avatar Thomas Girardier Committed by Automerger Merge Worker
Browse files

Merge "Fix coverity scan issue: uninitialized scalar variable" am: b981b939

parents 72682203 b981b939
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -437,8 +437,11 @@ tBTA_STATUS bta_hf_client_api_enable(tBTA_HF_CLIENT_CBACK* p_cback,
  bta_sys_collision_register(BTA_ID_HS, bta_hf_client_collision_cback);

  /* Set the Audio service class bit */
  tBTA_UTL_COD cod;
  cod.service = BTM_COD_SERVICE_AUDIO;
  tBTA_UTL_COD cod = {
    .minor = BTM_COD_MINOR_UNCLASSIFIED,
    .major = BTM_COD_MAJOR_UNCLASSIFIED,
    .service = BTM_COD_SERVICE_AUDIO,
  };
  utl_set_device_class(&cod, BTA_UTL_SET_COD_SERVICE_CLASS);

  /* start RFCOMM server */