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

Commit d6810d43 authored by Chris Manton's avatar Chris Manton
Browse files

Move tINQ_BDADDR from security record

Towards readable code

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I612f181f20f9647defd0b034763fcc549b3543f3
parent 4b2b6992
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -121,6 +121,14 @@ typedef void(tBTM_BT_QUALITY_REPORT_RECEIVER)(uint8_t len, uint8_t* p_stream);
/* Define a structure to hold all the BTM data
*/

typedef struct {
  uint32_t inq_count; /* Used for determining if a response has already been */
  /* received for the current inquiry operation. (We do not   */
  /* want to flood the caller with multiple responses from    */
  /* the same device.                                         */
  RawAddress bd_addr;
} tINQ_BDADDR;

typedef struct {
  tBTM_CMPL_CB* p_remname_cmpl_cb;

+0 −8
Original line number Diff line number Diff line
@@ -39,14 +39,6 @@ typedef struct {

} tBTM_LE_CONN_PRAMS;

typedef struct {
  uint32_t inq_count; /* Used for determining if a response has already been */
  /* received for the current inquiry operation. (We do not   */
  /* want to flood the caller with multiple responses from    */
  /* the same device.                                         */
  RawAddress bd_addr;
} tINQ_BDADDR;

typedef struct {
  uint64_t time_of_resp;
  uint32_t