Skip to content

Commit ac01879

Browse files
SeppoTakalokartben
authored andcommitted
net: lwm2m: Tickless does not depend on SOCKETPAIR
Tickless mode is refactored to use zvfs_eventfd, but the Kconfig dependencies were not updated. Signed-off-by: Seppo Takalo <[email protected]>
1 parent a9279ee commit ac01879

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

subsys/net/lib/lwm2m/Kconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ endchoice
161161

162162
choice
163163
prompt "LwM2M Engine operation mode"
164-
default LWM2M_TICKLESS if NET_SOCKETPAIR
165-
default LWM2M_INTERVAL if !NET_SOCKETPAIR
164+
default LWM2M_TICKLESS if ZVFS_EVENTFD_MAX > 1
165+
default LWM2M_INTERVAL
166166

167167
config LWM2M_TICKLESS
168168
bool "Tickless operation mode"
169-
depends on NET_SOCKETPAIR
169+
depends on ZVFS_EVENTFD
170170

171171
config LWM2M_INTERVAL
172172
bool "Interval based polling mode"

0 commit comments

Comments
 (0)