Commit 99f30e12 authored by Luiz Augusto von Dentz's avatar Luiz Augusto von Dentz Committed by Sasha Levin
Browse files

Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH



[ Upstream commit db08722f ]

There a few instances still using HCI_MAX_AD_LENGTH instead of using
max_adv_len which takes care of detecting what is the actual maximum
length depending on if the controller supports EA or not.

Fixes: 112b5090 ("Bluetooth: MGMT: Fix always using HCI_MAX_AD_LENGTH")
Signed-off-by: default avatarLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Stable-dep-of: 2ab3e8d6 ("Bluetooth: Fix eir name length")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent f30e6322
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment