]> git.itanic.dy.fi Git - linux-stable/commit
Bluetooth: Fix using advertising instance duration as timeout
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 24 Oct 2019 13:15:42 +0000 (16:15 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Oct 2019 05:28:19 +0000 (07:28 +0200)
commit10bbffa3e88e3aae870c734b234c0718d26f97ab
treee55ae136ca1b9b469dad60b4fac3ab58200ac93f
parentde76f73574903f877a417cb6d4ec7ece1f87ae1c
Bluetooth: Fix using advertising instance duration as timeout

When using LE Set Extended Advertising Enable command the duration
refers to the lifetime of instance not the length which is actually
controlled by the interval_min and interval_max when setting the
parameters.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_request.c