summaryrefslogtreecommitdiff
path: root/net/bluetooth
diff options
context:
space:
mode:
authorArman Uguray <armansito@chromium.org>2015-03-24 01:57:11 +0300
committerMarcel Holtmann <marcel@holtmann.org>2015-03-24 03:53:46 +0300
commit203fea0178d7e165dbe834d1bdd9d243018fd5bf (patch)
treec1829ab75e4bc8bfdeec5b15ef5c4b5761b678d3 /net/bluetooth
parent4453b006538d02ada8294a195bb2dc2ada498436 (diff)
downloadlinux-203fea0178d7e165dbe834d1bdd9d243018fd5bf.tar.xz
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/bluetooth')
-rw-r--r--net/bluetooth/hci_core.c1
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)
hci_init_sysfs(hdev);
discovery_init(hdev);
+ adv_info_init(hdev);
return hdev;
}