Bluetooth: controller: llcp: fix CI tests for new LLCP

Setting the new LLCP as default exposed errors in CI tests, which
are fixed here
Note that advanced scheduling needs to be disabled. Work is in
progress for implementing this for the new LLCP

Signed-off-by: Andries Kruithof <andries.kruithof@nordicsemi.no>
This commit is contained in:
Andries Kruithof 2022-06-09 14:05:20 +02:00 committed by Carles Cufí
commit 6fe1299c33
8 changed files with 22 additions and 8 deletions

View file

@ -51,6 +51,7 @@
#include <soc.h>
#include "hal/debug.h"
#if defined(CONFIG_BT_PERIPHERAL)
static uint16_t cc_event_counter(struct ll_conn *conn)
{
struct lll_conn *lll;
@ -67,7 +68,6 @@ static uint16_t cc_event_counter(struct ll_conn *conn)
return event_counter;
}
#if defined(CONFIG_BT_PERIPHERAL)
/* LLCP Remote Procedure FSM states */
enum {
/* Establish Procedure */
@ -291,7 +291,7 @@ static uint8_t rp_cc_check_phy(struct ll_conn *conn, struct proc_ctx *ctx,
/* Unsupported phy selected */
return BT_HCI_ERR_UNSUPP_FEATURE_PARAM_VAL;
}
#endif
#endif /* CONFIG_BT_CTLR_PHY */
return BT_HCI_ERR_SUCCESS;
}