Skip to content

Commit 58edd1b

Browse files
yangbolu1991kartben
authored andcommitted
net: select NET_PKT_TIMESTAMP_THREAD for NET_L2_PTP
NET_L2_PTP requires NET_PKT_TIMESTAMP_THREAD. So, use select instead. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
1 parent ef4cc7c commit 58edd1b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

subsys/net/ip/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,6 @@ config NET_PKT_TIMESTAMP
888888

889889
config NET_PKT_TIMESTAMP_THREAD
890890
bool "Create TX timestamp thread"
891-
default y if NET_L2_PTP
892891
depends on NET_PKT_TIMESTAMP
893892
help
894893
Create a TX timestamp thread that will pass the timestamped network

subsys/net/l2/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ config NET_L2_WIFI_SHELL
8080
config NET_L2_PTP
8181
bool "PTP L2 support"
8282
select NET_PKT_TIMESTAMP
83+
select NET_PKT_TIMESTAMP_THREAD
8384
select PTP_CLOCK
8485
help
8586
Add support for PTP L2 capabilities. Required by gPTP.

0 commit comments

Comments
 (0)