Bluetooth: controller: completing procedure pause handling
Implementing the final parts of procedure pause mechanism This is needed to bar procedures from generating pdus during encryption procedure handling Signed-off-by: Erik Brockhoff <erbr@oticon.com> wip
This commit is contained in:
parent
35bdab5c9a
commit
a148635837
8 changed files with 78 additions and 13 deletions
|
@ -416,7 +416,7 @@ static void lp_comm_send_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t
|
|||
}
|
||||
break;
|
||||
case PROC_TERMINATE:
|
||||
if (ctx->pause || !llcp_tx_alloc_peek(conn, ctx)) {
|
||||
if (!llcp_tx_alloc_peek(conn, ctx)) {
|
||||
ctx->state = LP_COMMON_STATE_WAIT_TX;
|
||||
} else {
|
||||
lp_comm_tx(conn, ctx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue