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

Commit 34c5c41f authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "[7/19] get_btm_client_interface().local.BTM_ReadDeviceClass" into main am: 18e2abb7

parents 3124d309 18e2abb7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -26,7 +26,8 @@
#include <cstdint>

#include "internal_include/bt_target.h"
#include "stack/include/btm_api.h"
#include "stack/include/bt_dev_class.h"
#include "stack/include/btm_client_interface.h"

/*******************************************************************************
 *
@@ -162,7 +163,7 @@ bool utl_set_device_class(tBTA_UTL_COD* p_cod, uint8_t cmd) {
  uint8_t minor, major;
  DEV_CLASS old_class;

  old_class = BTM_ReadDeviceClass();
  old_class = get_btm_client_interface().local.BTM_ReadDeviceClass();
  BTM_COD_SERVICE_CLASS(service, old_class);
  BTM_COD_MINOR_CLASS(minor, old_class);
  BTM_COD_MAJOR_CLASS(major, old_class);