diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-22 17:00:32 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-23 06:07:01 -0500 |
commit | 9a395a80dc6a2004787539dcc0c7d167ba87e89a (patch) | |
tree | 763910b44beae06be94afd6f52af85e272a5c6cd /include/net/bluetooth/mgmt.h | |
parent | 86a8cfc6d0428f32d702ec59c1b3ef38541a6821 (diff) |
Bluetooth: mgmt: Fix device_found parameters
According to the latest mgmt API there's a flags field instead of a
separate confirm_name paramter.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 495668c77fb6..09646f5ef36a 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -393,11 +393,14 @@ struct mgmt_ev_auth_failed { | |||
393 | __u8 status; | 393 | __u8 status; |
394 | } __packed; | 394 | } __packed; |
395 | 395 | ||
396 | #define MGMT_DEV_FOUND_CONFIRM_NAME 0x01 | ||
397 | #define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02 | ||
398 | |||
396 | #define MGMT_EV_DEVICE_FOUND 0x0012 | 399 | #define MGMT_EV_DEVICE_FOUND 0x0012 |
397 | struct mgmt_ev_device_found { | 400 | struct mgmt_ev_device_found { |
398 | struct mgmt_addr_info addr; | 401 | struct mgmt_addr_info addr; |
399 | __s8 rssi; | 402 | __s8 rssi; |
400 | __u8 confirm_name; | 403 | __u8 flags[4]; |
401 | __le16 eir_len; | 404 | __le16 eir_len; |
402 | __u8 eir[0]; | 405 | __u8 eir[0]; |
403 | } __packed; | 406 | } __packed; |