diff options
author | 2015-06-18 03:16:35 +0200 | |
---|---|---|
committer | 2015-06-18 18:11:51 +0200 | |
commit | 5d900e4601391576a3c0644d7fcad1ebf41a516e (patch) | |
tree | 8eb7d818696d6fadb24512cb882b3bc5d22517ce /samples | |
parent | Bluetooth: hci_core/mgmt: Introduce multi-adv list (diff) | |
download | linux-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