Message ID | 20230707224434.677627-4-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 4578395b5370716b7fecd60d109fc2c01932c891 |
Headers | show |
Series | [v2,1/4] mgmt-tester: Fix tests that consider 31 bytes the max adv lenght | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
tedd_an/CheckPatch | success | CheckPatch PASS |
tedd_an/GitLint | success | Gitlint PASS |
tedd_an/IncrementalBuild | success | Incremental Build PASS |
diff --git a/client/advertising.c b/client/advertising.c index 24852d93d1ec..a7474d6a2984 100644 --- a/client/advertising.c +++ b/client/advertising.c @@ -28,7 +28,7 @@ #define AD_IFACE "org.bluez.LEAdvertisement1" struct ad_data { - uint8_t data[25]; + uint8_t data[245]; uint8_t len; };
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> The code was supporting a maximum of 25 bytes (31 - 6) to be entered as advertising data, but in case of EA is used that allows up to 245 bytes (251 - 6) to be entered. --- client/advertising.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)