]> git.karo-electronics.de Git - karo-tx-linux.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>
Fri, 6 Apr 2012 22:38:16 +0000 (19:38 -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 9629645bec642cf230cf5202cabdd1998d12139f..52c7abf6e317d73df292d2906309bd3a749406fe 100644 (file)
@@ -253,6 +253,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)