rdc.h: Read LLSEC802154_ENABLED instead of LLSEC802154_CONF_ENABLED

This commit is contained in:
kkrentz 2016-04-24 00:59:07 -07:00
parent 5b5f07ba52
commit 39921f1231

View file

@ -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 */