]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Bluetooth: hci_core/mgmt: Introduce multi-adv list
authorFlorian Grandel <fgrandel@gmail.com>
Thu, 18 Jun 2015 01:16:34 +0000 (03:16 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 18 Jun 2015 16:11:51 +0000 (18:11 +0200)
commitd2609b345ebf0547015a78588c4d7ad68c9ccf26
tree2b0d35d71227e87a1b1906158bada9dbb63e8fe1
parentaebceccc18bf49f8fb208ac4548b7bd402b6662c
Bluetooth: hci_core/mgmt: Introduce multi-adv list

The current hci dev structure only supports a single advertising
instance. To support multi-instance advertising it is necessary to
introduce a linked list of advertising instances so that multiple
advertising instances can be dynamically added and/or removed.

In a first step, the existing adv_instance member of the hci_dev
struct is supplemented by a linked list of advertising instances.
This patch introduces the list and supporting list management
infrastructure. The list is not being used yet.

Signed-off-by: Florian Grandel <fgrandel@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_core.c
net/bluetooth/mgmt.c