Bluetooth: controller: split: Fix incorrect MD bit value
MD bit was set based on whether a memq link's next pointer being NULL, instead the check should be that the memq has more elements. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
8ada121b68
commit
fcd9612016
1 changed files with 1 additions and 1 deletions
|
@ -606,7 +606,7 @@ void lll_conn_pdu_tx_prep(struct lll_conn *lll, struct pdu_data **pdu_data_tx)
|
|||
p->md = 1;
|
||||
}
|
||||
|
||||
if (link->next) {
|
||||
if (link->next != lll->memq_tx.tail) {
|
||||
p->md = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue