diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-23 15:31:51 -0500 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-02-23 15:39:17 -0500 |
commit | 08c79b6133b70a6e3d462d11a89c80259ac66ec7 (patch) | |
tree | b4ef15186aa7ed85f44d79310fa1d97d0e238cd3 /include | |
parent | 9246a8693e74b3480913cf6e0c2d472267169990 (diff) |
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.h | 4 | ||||
-rw-r--r-- | include/net/bluetooth/mgmt.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index 720bdc26b7e9..facd7ed32b74 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); | |||
980 | int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, | 980 | int mgmt_new_link_key(struct hci_dev *hdev, struct link_key *key, |
981 | u8 persistent); | 981 | u8 persistent); |
982 | int mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, | 982 | int mgmt_device_connected(struct hci_dev *hdev, bdaddr_t *bdaddr, u8 link_type, |
983 | u8 addr_type, u8 *name, u8 name_len, | 983 | u8 addr_type, u32 flags, u8 *name, |
984 | u8 *dev_class); | 984 | u8 name_len, u8 *dev_class); |
985 | int mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, | 985 | int mgmt_device_disconnected(struct hci_dev *hdev, bdaddr_t *bdaddr, |
986 | u8 link_type, u8 addr_type); | 986 | u8 link_type, u8 addr_type); |
987 | int mgmt_disconnect_failed(struct hci_dev *hdev, bdaddr_t *bdaddr, | 987 | 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 09646f5ef36a..7aab53e6b813 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h | |||
@@ -357,6 +357,7 @@ struct mgmt_ev_new_long_term_key { | |||
357 | #define MGMT_EV_DEVICE_CONNECTED 0x000B | 357 | #define MGMT_EV_DEVICE_CONNECTED 0x000B |
358 | struct mgmt_ev_device_connected { | 358 | struct mgmt_ev_device_connected { |
359 | struct mgmt_addr_info addr; | 359 | struct mgmt_addr_info addr; |
360 | __le32 flags; | ||
360 | __le16 eir_len; | 361 | __le16 eir_len; |
361 | __u8 eir[0]; | 362 | __u8 eir[0]; |
362 | } __packed; | 363 | } __packed; |