summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-23 00:05:13 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-23 00:05:13 +0200
commit5bb418bbb7ff45fe1db87f59acee30aa7c95ef6e (patch)
treee692b9c7cabeb635f5f80b95167b4ea10d27a352 /lib
parent07597ac33194760ae4ed178cdf354cafb844a471 (diff)
mgmt: Fix device_found parameters
Diffstat (limited to 'lib')
-rw-r--r--lib/mgmt.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mgmt.h b/lib/mgmt.h
index 7072ccc0d..59c5c0690 100644
--- a/lib/mgmt.h
+++ b/lib/mgmt.h
@@ -381,11 +381,14 @@ struct mgmt_ev_auth_failed {
uint8_t status;
} __packed;
+#define MGMT_DEV_FOUND_CONFIRM_NAME 0x01
+#define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02
+
#define MGMT_EV_DEVICE_FOUND 0x0012
struct mgmt_ev_device_found {
struct mgmt_addr_info addr;
int8_t rssi;
- uint8_t confirm_name;
+ uint8_t flags[4];
uint16_t eir_len;
uint8_t eir[0];
} __packed;