mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
rdc.h: Read LLSEC802154_ENABLED instead of LLSEC802154_CONF_ENABLED
This commit is contained in:
parent
5b5f07ba52
commit
39921f1231
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user