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

Commit f279af42 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Add tBTM_INQUIRY_VAR_ST::Init/Free am: 5413735e am: e723a493 am: c957eeb5

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1545356

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iea65e317f39e16eb1ebcca6d44de3a14865c4321
parents d29fd9e0 c957eeb5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -226,6 +226,14 @@ typedef struct {
  uint8_t state;      /* Current state that the inquiry process is in */
  uint8_t inq_active; /* Bit Mask indicating type of inquiry is active */
  bool no_inc_ssp;    /* true, to stop inquiry on incoming SSP */

  void Init() {
    alarm_free(remote_name_timer);
    remote_name_timer = alarm_new("btm_inq.remote_name_timer");
    no_inc_ssp = BTM_NO_SSP_ON_INQUIRY;
  }
  void Free() { alarm_free(remote_name_timer); }

} tBTM_INQUIRY_VAR_ST;

/* Structure returned with remote name  request */