summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2021-06-28 18:07:27 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-06-28 18:07:27 +0000
commitf1b6a259701994fe370be2f49d1f1fbffb8b19e2 (patch)
treeb6efcfd1a28dcc3e5845e31a8ded2841ffb1ae49
parentfc3c4d6cb4293ad0b82b6f1c3f93d9f5500d7936 (diff)
parent44e1aaab15e72450bdbfcd8a16aa75e0de416fd7 (diff)
downloadlibhardware-android-s-beta-5.tar.gz
-rw-r--r--include/hardware/bluetooth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hardware/bluetooth.h b/include/hardware/bluetooth.h
index afa0eef7..95a0b6e3 100644
--- a/include/hardware/bluetooth.h
+++ b/include/hardware/bluetooth.h
@@ -261,6 +261,7 @@ typedef struct
/** Represents the actual Out of Band data itself */
typedef struct {
// Both
+ 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 c[16]; /* Simple Pairing Hash C-192/256 (Classic or LE) */
uint8_t r[16]; /* Simple Pairing Randomizer R-192/256 (Classic or LE) */