diff options
author | Arman Uguray <armansito@chromium.org> | 2015-03-23 18:57:11 -0400 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2015-03-23 20:53:46 -0400 |
commit | 203fea0178d7e165dbe834d1bdd9d243018fd5bf (patch) | |
tree | c1829ab75e4bc8bfdeec5b15ef5c4b5761b678d3 /net | |
parent | 4453b006538d02ada8294a195bb2dc2ada498436 (diff) |
Bluetooth: Add data structure for advertising instance
This patch introduces a new data structure to represent advertising
instances that were added using the "Add Advertising" mgmt command.
Initially an hci_dev structure will support only one of these instances
at a time, so the current instance is simply stored as a direct member
of hci_dev.
Signed-off-by: Arman Uguray <armansito@chromium.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net')
-rw-r--r-- | net/bluetooth/hci_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/hci_core.c b/net/bluetooth/hci_core.c index 17f52a195ba8..e6bfeb7b4415 100644 --- a/net/bluetooth/hci_core.c +++ b/net/bluetooth/hci_core.c | |||
@@ -3126,6 +3126,7 @@ struct hci_dev *hci_alloc_dev(void) | |||
3126 | 3126 | ||
3127 | hci_init_sysfs(hdev); | 3127 | hci_init_sysfs(hdev); |
3128 | discovery_init(hdev); | 3128 | discovery_init(hdev); |
3129 | adv_info_init(hdev); | ||
3129 | 3130 | ||
3130 | return hdev; | 3131 | return hdev; |
3131 | } | 3132 | } |