From: Florian Grandel Date: Thu, 18 Jun 2015 01:16:35 +0000 (+0200) Subject: Bluetooth: hci_core/mgmt: move adv timeout to hdev X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~29^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d900e4601391576a3c0644d7fcad1ebf41a516e;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed