projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
328c924
)
Bluetooth: Add Read Local AMP Info to init
author
Andrei Emeltchenko
<andrei.emeltchenko@intel.com>
Wed, 28 Mar 2012 13:31:24 +0000
(16:31 +0300)
committer
Gustavo 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
patch
|
blob
|
history
diff --git
a/net/bluetooth/hci_core.c
b/net/bluetooth/hci_core.c
index a6108469e9eb250dccaf276c63f42c4752930e66..3b3d9a882dbd0d9c9d1e71ed39f860ec467a8892 100644
(file)
--- 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)