shared/ad: Fix hardcoding maximum data length
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Fri, 7 Jul 2023 21:54:56 +0000 (14:54 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 5 Jan 2024 13:34:03 +0000 (19:04 +0530)
commitce1a02fb064be9de670b3c68190effb11ee6417f
treea9bb54d8f80aaf3b28a2afbd8b1d124cbdf49e44
parent3eeaaf458012c3d0baa39e3fdfd059e0ac648cfa
shared/ad: Fix hardcoding maximum data length

Instances shall not assume BT_AD_MAX_DATA_LEN is always the maximum
length as they could be used with EA which supports bigger length.
src/shared/ad.c
src/shared/ad.h