summaryrefslogtreecommitdiff
path: root/cesar/cp
diff options
context:
space:
mode:
authorNélio Laranjeiro2011-04-28 17:49:54 +0200
committerNélio Laranjeiro2011-04-28 17:49:54 +0200
commit918c92cd65c385ce005bd5f25ad830304b7fdb53 (patch)
tree6566c9f7faf9aa58622c5c1f053867d2977f1865 /cesar/cp
parentae88b107272aed28fa9297584d96e95d950af8db (diff)
cesar/cp/beacon: add INVALID_PTR in unit test for stub, refs #2400
Diffstat (limited to 'cesar/cp')
-rw-r--r--cesar/cp/beacon/test/src/beacon_scenario.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/cp/beacon/test/src/beacon_scenario.c b/cesar/cp/beacon/test/src/beacon_scenario.c
index 7e6c5e5ccc..fb7aa50a7c 100644
--- a/cesar/cp/beacon/test/src/beacon_scenario.c
+++ b/cesar/cp/beacon/test/src/beacon_scenario.c
@@ -45,8 +45,8 @@ beacon_same_nid_test_case (test_t test)
mac_eks_t ref_eks_current = MAC_EKS_MIN + 2;
mac_eks_t ref_eks_next = MAC_EKS_MIN + 3;
- mac_config.nek[bsu_nek_index_current ()].eks = ref_eks_current;
- mac_config.nek[bsu_nek_index_next ()].eks = ref_eks_next;
+ mac_config.nek[bsu_nek_index_current (INVALID_PTR)].eks = ref_eks_current;
+ mac_config.nek[bsu_nek_index_next (INVALID_PTR)].eks = ref_eks_next;
test_case_begin (test, "get_and_process_beacon");