diff mbox series

[BlueZ,1/1] shared/bap: Fix wrong value used when extracting LTVs

Message ID 20240212162538.32207-2-silviu.barbulescu@nxp.com (mailing list archive)
State Accepted
Commit 055a83c84761705be4295c3fabb6b9038945bf39
Headers show
Series shared/bap: Fix wrong value used when extracting LTVs | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/BuildEll success Build ELL PASS
tedd_an/BluezMake success Bluez Make PASS
tedd_an/MakeCheck success Bluez Make Check PASS
tedd_an/MakeDistcheck success Make Distcheck PASS
tedd_an/CheckValgrind success Check Valgrind PASS
tedd_an/CheckSmatch success CheckSparse PASS
tedd_an/bluezmakeextell success Make External ELL PASS
tedd_an/IncrementalBuild success Incremental Build PASS
tedd_an/ScanBuild success Scan Build PASS

Commit Message

Silviu Florian Barbulescu Feb. 12, 2024, 4:25 p.m. UTC
Fix wrong value used when extracting LTVs when generating BASE

---
 src/shared/bap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com Feb. 12, 2024, 5:31 p.m. UTC | #1
This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=825274

---Test result---

Test Summary:
CheckPatch                    PASS      0.38 seconds
GitLint                       PASS      0.27 seconds
BuildEll                      PASS      24.62 seconds
BluezMake                     PASS      712.53 seconds
MakeCheck                     PASS      12.10 seconds
MakeDistcheck                 PASS      164.17 seconds
CheckValgrind                 PASS      228.26 seconds
CheckSmatch                   PASS      332.71 seconds
bluezmakeextell               PASS      107.42 seconds
IncrementalBuild              PASS      673.59 seconds
ScanBuild                     PASS      954.73 seconds



---
Regards,
Linux Bluetooth
diff mbox series

Patch

diff --git a/src/shared/bap.c b/src/shared/bap.c
index e26dbf944..4cc81844f 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -5991,7 +5991,7 @@  static void extract_ltv(size_t i, uint8_t l, uint8_t t, uint8_t *v,
 		ltv_len = l + 1;
 		iov_append(ext_data->result, 1, &ltv_len);
 		iov_append(ext_data->result, 1, &t);
-		iov_append(ext_data->result, l, &v);
+		iov_append(ext_data->result, l, v);
 	}
 }