From 450884acf588655a6f28bcf6264869ba34b7a18c Mon Sep 17 00:00:00 2001 From: Leandro Lanzieri Date: Tue, 21 Sep 2021 11:57:31 +0200 Subject: [PATCH] pkg/tinydtls: fix detection of Kconfig usage --- pkg/tinydtls/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/tinydtls/Makefile.include b/pkg/tinydtls/Makefile.include index d3fde65e90..3d68ac8158 100644 --- a/pkg/tinydtls/Makefile.include +++ b/pkg/tinydtls/Makefile.include @@ -28,7 +28,7 @@ ifeq (,$(filter posix_sockets,$(USEMODULE))) endif # Default cipher suite when not using Kconfig -ifeq (,$(CONFIG_KCONFIG_PKG_TINYDTLS)) +ifeq (,$(CONFIG_KCONFIG_USEPKG_TINYDTLS)) # NOTE: PSK should be enabled by default BUT if the user define any other cipher # suite(s) it should not be enabled. # TODO: Create the flag DTLS_CIPHERS with keywords PSK, ECC (and future)