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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix wrong value used when extracting LTVs when generating BASE

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

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);
 	}
 }
 
-- 
2.39.2





[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux