From: Andrei Emeltchenko Date: Wed, 28 Mar 2012 13:31:24 +0000 (+0300) Subject: Bluetooth: Add Read Local AMP Info to init X-Git-Url: http://git.mmlx.us/?a=commitdiff_plain;h=6bcbc4893fe8a6be3c3c5a83449d79dc9e9a51ac;p=linux-edison.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 a6108469e9e..3b3d9a882db 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)