Commit 060dc9ef authored by Aleksander Wasaznik's avatar Aleksander Wasaznik Committed by Fabio Baltieri
Browse files

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: default avatarAleksander Wasaznik <aleksander.wasaznik@nordicsemi.no>
parent c601c158
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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

+1 −1
Original line number Diff line number Diff line
@@ -105,7 +105,7 @@ static int cmd_handle(struct net_buf *cmd,
	}

	if (evt) {
		bt_recv_prio(evt);
		bt_recv(evt);
	}

	return err;
+0 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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;