]> git.itanic.dy.fi Git - linux-stable/commit
Bluetooth: hci_sync: Fix using the same interval and window for Coded PHY
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 28 Mar 2024 19:58:10 +0000 (15:58 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Apr 2024 09:23:31 +0000 (11:23 +0200)
commit2bfa1a0488407fb6376a2485f6db2d55b7bfbe4a
tree14a1b563e7dbd15d55615b5205ab51f1f1269b64
parent7a54f8314584f78fb0557153b1059924249ef628
Bluetooth: hci_sync: Fix using the same interval and window for Coded PHY

[ Upstream commit 53cb4197e63ab2363aa28c3029061e4d516e7626 ]

Coded PHY recommended intervals are 3 time bigger than the 1M PHY so
this aligns with that by multiplying by 3 the values given to 1M PHY
since the code already used recommended values for that.

Fixes: 288c90224eec ("Bluetooth: Enable all supported LE PHY by default")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_sync.c