This is an automated email from the ASF dual-hosted git repository.

sjanc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit 528377189934b1cfccf610254b372385fd7e2ccf
Author: Mariusz Skamra <[email protected]>
AuthorDate: Wed Apr 29 13:15:34 2026 +0200

    nimble/host: Fix uninitialized ISO conn handle
    
    This sets the initial conn handle value to 0xFFFF, which is the value
    outside of valid range.
---
 nimble/host/src/ble_iso.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/src/ble_iso.c b/nimble/host/src/ble_iso.c
index 9ac20760f..ab5f43393 100644
--- a/nimble/host/src/ble_iso.c
+++ b/nimble/host/src/ble_iso.c
@@ -184,6 +184,7 @@ ble_iso_bis_alloc(struct ble_iso_big *big)
 
     memset(new_bis, 0, sizeof *new_bis);
     new_bis->conn.type = BLE_ISO_CONN_BIS;
+    new_bis->conn.handle = BLE_HS_CONN_HANDLE_NONE;
     new_bis->big = big;
 
     ble_iso_conn_append(&new_bis->conn);

Reply via email to