summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-02-23 22:31:51 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-02-23 22:39:17 +0200
commit08c79b6133b70a6e3d462d11a89c80259ac66ec7 (patch)
treeb4ef15186aa7ed85f44d79310fa1d97d0e238cd3 /include
parent9246a8693e74b3480913cf6e0c2d472267169990 (diff)
downloadop-kernel-dev-08c79b6133b70a6e3d462d11a89c80259ac66ec7.zip
op-kernel-dev-08c79b6133b70a6e3d462d11a89c80259ac66ec7.tar.gz
Bluetooth: mgmt: Add flags parameter to device_connected
This patch updates the Device Connected events to match the latest API by adding a flags parameter to them. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/hci_core.h4
-rw-r--r--include/net/bluetooth/mgmt.h1
2 files changed, 3 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 720bdc2..facd7ed 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -980,8 +980,8 @@ int mgmt_write_scan_failed(struct hci_dev *hdev, u8 scan, u8 status);
int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key,
u8 persistent);
int mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type,
- u8 addr_type, u8 *name, u8 name_len,
- u8 *dev_class);
+ u8 addr_type, u32 flags, u8 *name,
+ u8 name_len, u8 *dev_class);
int mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr,
u8 link_type, u8 addr_type);
int mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr,
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 09646f5..7aab53e 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -357,6 +357,7 @@ struct mgmt_ev_new_long_term_key {
#define MGMT_EV_DEVICE_CONNECTED 0x000B
struct mgmt_ev_device_connected {
struct mgmt_addr_info addr;
+ __le32 flags;
__le16 eir_len;
__u8 eir[0];
} __packed;
OpenPOWER on IntegriCloud