Skip to content

Commit

Permalink
nimble/ll: Fix LLID for empty BIS PDUs
Browse files Browse the repository at this point in the history
LLID=1 should be only used for empty PDUs that are sent as padding for
SDUs that are too short.
  • Loading branch information
andrzej-kaczmarek committed Aug 7, 2024
1 parent a9384f8 commit f8994e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nimble/controller/src/ble_ll_isoal.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand All @@ -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;
}

Expand Down

0 comments on commit f8994e1

Please sign in to comment.