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:
parent
c601c15863
commit
060dc9ef6d
4 changed files with 2 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ static int cmd_handle(struct net_buf *cmd,
|
|||
}
|
||||
|
||||
if (evt) {
|
||||
bt_recv_prio(evt);
|
||||
bt_recv(evt);
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue