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

Commit 50809d5e authored by Chris Manton's avatar Chris Manton
Browse files

Add name for C linkage bt_oob_data_t

C compiler does not like anon structs

Bug: 162114100
Test: cert/run
Tag: #refactor

Change-Id: I4e557b9c5ce6eea3915f80a2403c9311f34bf7c7
parent 2aaa3cc3
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -345,7 +345,7 @@ typedef struct {
} bt_property_t;
} bt_property_t;


/** Represents the actual Out of Band data itself */
/** Represents the actual Out of Band data itself */
typedef struct {
typedef struct bt_oob_data_s {
  // Both
  // Both
  bool is_valid = false; /* Default to invalid data; force caller to verify */
  bool is_valid = false; /* Default to invalid data; force caller to verify */
  uint8_t address[7]; /* Bluetooth Device Address (6) plus Address Type (1) */
  uint8_t address[7]; /* Bluetooth Device Address (6) plus Address Type (1) */