diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-03-28 09:31:24 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-08 23:41:39 -0400 |
commit | 6bcbc4893fe8a6be3c3c5a83449d79dc9e9a51ac (patch) | |
tree | 273012deb26a82a33407f2a0dddcb5836caba319 /net | |
parent | 328c9248bfa7f5e1490ee82e9027e14c3ecc0485 (diff) |
Bluetooth: Add Read Local AMP Info to init
AMP Info will be used in Discovery Response.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hci_core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index a6108469e9eb..3b3d9a882dbd 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -252,6 +252,9 @@ static void amp_init(struct hci_dev *hdev) | |||
252 | 252 | ||
253 | /* Read Local Version */ | 253 | /* Read Local Version */ |
254 | hci_send_cmd(hdev, HCI_OP_READ_LOCAL_VERSION, 0, NULL); | 254 | hci_send_cmd(hdev, HCI_OP_READ_LOCAL_VERSION, 0, NULL); |
255 | |||
256 | /* Read Local AMP Info */ | ||
257 | hci_send_cmd(hdev, HCI_OP_READ_LOCAL_AMP_INFO, 0, NULL); | ||
255 | } | 258 | } |
256 | 259 | ||
257 | static void hci_init_req(struct hci_dev *hdev, unsigned long opt) | 260 | static void hci_init_req(struct hci_dev *hdev, unsigned long opt) |