Bluetooth: controller: split: Revert Move invalidation of connection handle
This reverts commit d3e3f8d2b4
.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
parent
43d8166045
commit
d9c67ebd77
1 changed files with 3 additions and 3 deletions
|
@ -1714,6 +1714,9 @@ static void conn_cleanup(struct ll_conn *conn, u8_t reason)
|
||||||
LL_ASSERT((ticker_status == TICKER_STATUS_SUCCESS) ||
|
LL_ASSERT((ticker_status == TICKER_STATUS_SUCCESS) ||
|
||||||
(ticker_status == TICKER_STATUS_BUSY));
|
(ticker_status == TICKER_STATUS_BUSY));
|
||||||
|
|
||||||
|
/* Invalidate the connection context */
|
||||||
|
lll->handle = 0xFFFF;
|
||||||
|
|
||||||
/* Demux and flush Tx PDUs that remain enqueued in thread context */
|
/* Demux and flush Tx PDUs that remain enqueued in thread context */
|
||||||
ull_conn_tx_demux(UINT8_MAX);
|
ull_conn_tx_demux(UINT8_MAX);
|
||||||
}
|
}
|
||||||
|
@ -1743,9 +1746,6 @@ static void tx_lll_flush(void *param)
|
||||||
|
|
||||||
lll_conn_flush(lll);
|
lll_conn_flush(lll);
|
||||||
|
|
||||||
/* Invalidate the connection context */
|
|
||||||
lll->handle = 0xFFFF;
|
|
||||||
|
|
||||||
link = memq_dequeue(lll->memq_tx.tail, &lll->memq_tx.head,
|
link = memq_dequeue(lll->memq_tx.tail, &lll->memq_tx.head,
|
||||||
(void **)&tx);
|
(void **)&tx);
|
||||||
while (link) {
|
while (link) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue