Diff between 07c14fcfbd8b0843afca707b72fad77fc64a2098 and 07e8e726758fd957df3a1c04223c6454d1a2573e
Changed Files
| File | Additions | Deletions | Status |
| btio/btio.c | +2 | -1 | modified |
Full Patch
diff --git a/btio/btio.c b/btio/btio.c
index 2d277e4..f32fbd5 100644
--- a/btio/btio.c
+++ b/btio/btio.c
@@ -5,7 +5,7 @@
*
* Copyright (C) 2009-2010 Marcel Holtmann <marcel@holtmann.org>
* Copyright (C) 2009-2010 Nokia Corporation
- * Copyright 2023-2024 NXP
+ * Copyright 2023-2025 NXP
*
*
*/
@@ -1654,6 +1654,7 @@ static gboolean iso_get(int sock, GError **err, BtIOOption opt1, va_list args)
return FALSE;
}
+ len = BASE_MAX_LENGTH;
if (getsockopt(sock, SOL_BLUETOOTH, BT_ISO_BASE,
&base.base, &len) < 0) {
ERROR_FAILED(err, "getsockopt(BT_ISO_BASE)", errno);