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

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

Because nested defines breed bugs

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I01af1bfea894df4e079887a8fa7c673b699792f7
parent 772d999c
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -371,12 +371,11 @@ typedef struct {
  uint8_t resolving_list_index;
#if (BLE_PRIVACY_SPT == TRUE)
  RawAddress cur_rand_addr; /* current random address */

  uint8_t active_addr_type;
#endif
#define BTM_BLE_ADDR_PSEUDO 0 /* address index device record */
#define BTM_BLE_ADDR_RRA 1    /* cur_rand_addr */
#define BTM_BLE_ADDR_STATIC 2 /* static_addr  */
  uint8_t active_addr_type;
#endif

  tBTM_LE_KEY_TYPE key_type; /* bit mask of valid key types in record */
  tBTM_SEC_BLE_KEYS keys;    /* LE device security info in slave rode */