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

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


The following commit(s) were added to refs/heads/master by this push:
     new f8994e14 nimble/ll: Fix LLID for empty BIS PDUs
f8994e14 is described below

commit f8994e1406f9a9e243f0a17518ca73bc40d04691
Author: Andrzej Kaczmarek <[email protected]>
AuthorDate: Wed Aug 7 01:00:46 2024 +0200

    nimble/ll: Fix LLID for empty BIS PDUs
    
    LLID=1 should be only used for empty PDUs that are sent as padding for
    SDUs that are too short.
---
 nimble/controller/src/ble_ll_isoal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nimble/controller/src/ble_ll_isoal.c 
b/nimble/controller/src/ble_ll_isoal.c
index fd9d205f..0ae6d6b7 100644
--- a/nimble/controller/src/ble_ll_isoal.c
+++ b/nimble/controller/src/ble_ll_isoal.c
@@ -205,7 +205,7 @@ ble_ll_isoal_mux_unframed_get(struct ble_ll_isoal_mux *mux, 
uint8_t idx,
     pdu_idx = idx - sdu_idx * mux->pdu_per_sdu;
 
     if (sdu_idx >= mux->sdu_in_event) {
-        *llid = 1;
+        *llid = 0;
         return 0;
     }
 
@@ -215,7 +215,7 @@ ble_ll_isoal_mux_unframed_get(struct ble_ll_isoal_mux *mux, 
uint8_t idx,
     }
 
     if (!pkthdr) {
-        *llid = 1;
+        *llid = 0;
         return 0;
     }
 

Reply via email to