Bluetooth: controller: Fix connection event close check
Fix the check that decides to close a connection event, which was missing a check on MD bit being set for empty PDU to be Tx-ed out. Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
45593ff508
commit
62f1ad79bb
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ void lll_conn_isr_rx(void *param)
|
||||||
|
|
||||||
/* Decide on event continuation and hence Radio Shorts to use */
|
/* Decide on event continuation and hence Radio Shorts to use */
|
||||||
is_done = is_done || ((crc_ok) && (pdu_data_rx->md == 0) &&
|
is_done = is_done || ((crc_ok) && (pdu_data_rx->md == 0) &&
|
||||||
|
(pdu_data_tx->md == 0) &&
|
||||||
(pdu_data_tx->len == 0));
|
(pdu_data_tx->len == 0));
|
||||||
|
|
||||||
if (is_done) {
|
if (is_done) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue