diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-03-28 15:31:24 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-09 05:41:39 +0200 |
commit | 6bcbc4893fe8a6be3c3c5a83449d79dc9e9a51ac (patch) | |
tree | 273012deb26a82a33407f2a0dddcb5836caba319 /net/bluetooth | |
parent | Bluetooth: mgmt: Fix missing connect failed event for LE (diff) | |
download | linux-6bcbc4893fe8a6be3c3c5a83449d79dc9e9a51ac.tar.xz linux-6bcbc4893fe8a6be3c3c5a83449d79dc9e9a51ac.zip |
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/bluetooth')
-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) /* Read Local Version */ hci_send_cmd(hdev, HCI_OP_READ_LOCAL_VERSION, 0, NULL); + + /* Read Local AMP Info */ + hci_send_cmd(hdev, HCI_OP_READ_LOCAL_AMP_INFO, 0, NULL); } static void hci_init_req(struct hci_dev *hdev, unsigned long opt) |