From: Andrei Emeltchenko Date: Wed, 28 Mar 2012 13:31:24 +0000 (+0300) Subject: Bluetooth: Add Read Local AMP Info to init X-Git-Tag: next-20120411~42^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=fff187f29f2b1ac0c41bb8d741941ba09f4913cb;p=karo-tx-linux.git Bluetooth: Add Read Local AMP Info to init AMP Info will be used in Discovery Response. Signed-off-by: Andrei Emeltchenko Signed-off-by: Gustavo Padovan --- diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 9629645bec64..52c7abf6e317 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c @@ -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)