From 39921f1231b807c34eb036a12148b3b0d24780c6 Mon Sep 17 00:00:00 2001 From: kkrentz Date: Sun, 24 Apr 2016 00:59:07 -0700 Subject: [PATCH] rdc.h: Read LLSEC802154_ENABLED instead of LLSEC802154_CONF_ENABLED --- core/net/mac/rdc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/net/mac/rdc.h b/core/net/mac/rdc.h index 72717455b..8ac34e444 100644 --- a/core/net/mac/rdc.h +++ b/core/net/mac/rdc.h @@ -43,6 +43,7 @@ #include "contiki-conf.h" #include "net/mac/mac.h" +#include "net/llsec/llsec802154.h" #ifdef RDC_CONF_WITH_DUPLICATE_DETECTION #define RDC_WITH_DUPLICATE_DETECTION RDC_CONF_WITH_DUPLICATE_DETECTION @@ -51,7 +52,7 @@ frame because it has seen its sequence number already. Replay protection should be implemented at the LLSEC layer where the authenticity of frames is verified. */ -#define RDC_WITH_DUPLICATE_DETECTION !LLSEC802154_CONF_ENABLED +#define RDC_WITH_DUPLICATE_DETECTION !LLSEC802154_ENABLED #endif /* RDC_CONF_WITH_DUPLICATE_DETECTION */ /* List of packets to be sent by RDC layer */