]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
Bluetooth: Add Read Local AMP Info to init
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Wed, 28 Mar 2012 13:31:24 +0000 (16:31 +0300)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 9 May 2012 03:41:39 +0000 (00:41 -0300)
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>
net/bluetooth/hci_core.c

index a6108469e9eb250dccaf276c63f42c4752930e66..3b3d9a882dbd0d9c9d1e71ed39f860ec467a8892 100644 (file)
@@ -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)