net: buf: Move LEGACY_TIMEOUT_API selection to specific subsystems
The net_buf subsystem is now fully compatible with the new timeout API, so move the selection of the legacy API to those specific subsystems that use net_buf and still need converting. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
54ca1c118b
commit
71eb56a34c
5 changed files with 5 additions and 1 deletions
|
@ -75,6 +75,7 @@ config MODEM_IFACE_UART
|
|||
config MODEM_CMD_HANDLER
|
||||
bool "Generic modem command handler"
|
||||
select NET_BUF
|
||||
select LEGACY_TIMEOUT_API
|
||||
help
|
||||
This generic command handler uses a modem interface to process
|
||||
incoming data and hand it back to the modem driver via callbacks
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
menuconfig BT
|
||||
bool "Bluetooth"
|
||||
select NET_BUF
|
||||
select LEGACY_TIMEOUT_API
|
||||
help
|
||||
This option enables Bluetooth support.
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
menuconfig ISOTP
|
||||
bool "ISO-TP Transport [EXPERIMENTAL]"
|
||||
select NET_BUF
|
||||
select LEGACY_TIMEOUT_API
|
||||
select POLL
|
||||
help
|
||||
Enable ISO TP support for CAN
|
||||
|
|
|
@ -7,7 +7,6 @@ menu "Networking"
|
|||
|
||||
config NET_BUF
|
||||
bool "Network buffer support"
|
||||
select LEGACY_TIMEOUT_API
|
||||
help
|
||||
This option enables support for generic network protocol
|
||||
buffers.
|
||||
|
@ -69,6 +68,7 @@ config NETWORKING
|
|||
select NET_BUF
|
||||
select POLL
|
||||
select ENTROPY_GENERATOR
|
||||
select LEGACY_TIMEOUT_API
|
||||
help
|
||||
This option enabled generic link layer and IP networking support.
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
CONFIG_NET_BUF=y
|
||||
CONFIG_LEGACY_TIMEOUT_API=y
|
||||
CONFIG_ZTEST=y
|
||||
CONFIG_ZTEST_ASSERT_VERBOSE=3
|
||||
CONFIG_ZTEST_STACKSIZE=4096
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue