summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-22 23:00:32 +0100
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-23 12:07:01 +0100
commit9a395a80dc6a2004787539dcc0c7d167ba87e89a (patch)
tree763910b44beae06be94afd6f52af85e272a5c6cd /include/net/bluetooth
parentBluetooth: mgmt: Fix unpair_device responses (diff)
downloadlinux-9a395a80dc6a2004787539dcc0c7d167ba87e89a.tar.xz
linux-9a395a80dc6a2004787539dcc0c7d167ba87e89a.zip
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')
-rw-r--r--include/net/bluetooth/mgmt.h5
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 {
__u8 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;
__s8 rssi;
- __u8 confirm_name;
+ __u8 flags[4];
__le16 eir_len;
__u8 eir[0];
} __packed;