Luiz Augusto von Dentz 99f30e12e5 Bluetooth: hci_core: Fix missing instances using HCI_MAX_AD_LENGTH
[ Upstream commit db08722fc7d46168fe31d9b8a7b29229dd959f9f ]

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: 112b5090c219 ("Bluetooth: MGMT: Fix always using HCI_MAX_AD_LENGTH")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Stable-dep-of: 2ab3e8d67fc1 ("Bluetooth: Fix eir name length")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-03-26 18:20:42 -04:00
..
2021-07-01 13:19:48 -07:00
2022-08-23 10:43:11 +02:00
2022-07-28 22:06:15 -07:00
2022-08-09 22:14:02 -07:00
2022-09-30 18:17:17 -07:00
2021-12-16 07:18:35 -08:00
2023-11-20 11:52:15 +01:00
2021-10-15 11:33:08 +01:00
2024-01-31 16:17:04 -08:00
2023-09-19 12:28:03 +02:00
2021-10-13 09:40:46 -07:00
2022-05-11 12:43:10 +01:00
2023-10-10 22:00:46 +02:00
2023-04-13 16:55:23 +02:00
2022-06-19 10:00:02 +01:00
2023-06-14 11:15:20 +02:00
2024-01-31 16:17:04 -08:00
2021-08-03 13:05:26 +01:00
2024-01-10 17:10:27 +01:00
2023-08-11 12:08:17 +02:00