]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_sync: Fix not setting adv set duration
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 1 Nov 2021 22:14:41 +0000 (15:14 -0700)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 2 Nov 2021 06:32:38 +0000 (07:32 +0100)
commit97f3a05148e12ea4b3322a6e7ad83fc31955c315
tree1d5a92b087777d84b0cf58f7d3192641e5a9e134
parented9c2532d83bfa7ab3a22ed917f29f81fc48fd2f
Bluetooth: hci_sync: Fix not setting adv set duration

7aa7016d386a attempted to fix the use of rotation duration as
advertising duration but it didn't change the if condition which still
uses the duration instead of the timeout.

Fixes: 7aa7016d386a ("Bluetooth: Fix using advertising instance duration as timeout")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_sync.c