Bluetooth: tests: Switch to default BT_RECV_CONTEXT

The tests `hci_prop_evt` and `host_long_adv_recv` used `bt_recv_prio`,
and so relied on an extra config option `CONFIG_BT_RECV_BLOCKING`. This
patch replaces the use of `bt_recv_prio` with `bt_recv` and restores the
use of the default option for `BT_RECV_CONTEXT`.

Signed-off-by: Aleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
This commit is contained in:
Aleksander Wasaznik 2024-02-06 11:20:39 +01:00 committed by Fabio Baltieri
parent c601c15863
commit 060dc9ef6d
4 changed files with 2 additions and 4 deletions

View file

@ -4,7 +4,6 @@ CONFIG_ZTEST=y
CONFIG_BT=y
CONFIG_BT_CTLR=n
CONFIG_BT_NO_DRIVER=y
CONFIG_BT_RECV_BLOCKING=y
CONFIG_BT_HCI_VS_EVT_USER=y

View file

@ -105,7 +105,7 @@ static int cmd_handle(struct net_buf *cmd,
}
if (evt) {
bt_recv_prio(evt);
bt_recv(evt);
}
return err;

View file

@ -7,7 +7,6 @@ CONFIG_BT_HCI=n
CONFIG_BT_HCI_RAW=n
CONFIG_BT_OBSERVER=y
CONFIG_BT_NO_DRIVER=y
CONFIG_BT_RECV_BLOCKING=y
CONFIG_BT_EXT_ADV=y
CONFIG_LOG=y

View file

@ -130,7 +130,7 @@ static int cmd_handle(struct net_buf *cmd, const struct cmd_handler *handlers, s
}
if (evt) {
bt_recv_prio(evt);
bt_recv(evt);
}
return err;