aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorFlorian Grandel <fgrandel@gmail.com>2015-06-18 03:16:35 +0200
committerMarcel Holtmann <marcel@holtmann.org>2015-06-18 18:11:51 +0200
commit5d900e4601391576a3c0644d7fcad1ebf41a516e (patch)
tree8eb7d818696d6fadb24512cb882b3bc5d22517ce /samples
parentBluetooth: hci_core/mgmt: Introduce multi-adv list (diff)
downloadlinux-dev-5d900e4601391576a3c0644d7fcad1ebf41a516e.tar.xz
linux-dev-5d900e4601391576a3c0644d7fcad1ebf41a516e.zip
Bluetooth: hci_core/mgmt: move adv timeout to hdev
Currently the delayed work managing advertising duration and timeout is part of the advertising instance structure. This is not correct as only a single instance can be advertised at any given time. To implement round robin advertising a single delayed work structure is needed. To fix this the delayed work structure is being moved to the hci_dev structure. The instance specific variable is renamed to "remaining_time" to make it clear that this is the remaining lifetime of the instance and not the current advertising timeout. Signed-off-by: Florian Grandel <fgrandel@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions