summaryrefslogtreecommitdiff
path: root/cesar/mac/sar/test/functional/src/test_functions.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2012-02-15 16:06:07 +0100
committerNélio Laranjeiro2012-03-12 17:21:32 +0100
commitb8404daf67d6aef4ee14f7caae59868727da97e2 (patch)
tree66d5fd0f95c2f1f32b017b8c3b1d21615b392759 /cesar/mac/sar/test/functional/src/test_functions.c
parent19addd4b7015b4a9f0c94bac824c7a89b91b840f (diff)
cesar/mac/sar: remove sar_init_measure_context function, refs #2981
CE can register its callback and its user data in the same function, there is no need to use two different functions.
Diffstat (limited to 'cesar/mac/sar/test/functional/src/test_functions.c')
-rw-r--r--cesar/mac/sar/test/functional/src/test_functions.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cesar/mac/sar/test/functional/src/test_functions.c b/cesar/mac/sar/test/functional/src/test_functions.c
index 1ab3ea978d..bca4afb9cf 100644
--- a/cesar/mac/sar/test/functional/src/test_functions.c
+++ b/cesar/mac/sar/test/functional/src/test_functions.c
@@ -85,8 +85,7 @@ sar_test_init (sar_test_ctx_t *test_ctx)
test_ctx->sar = sar_init (test_ctx->mac_store, INVALID_PTR, INVALID_PTR,
(bufmgr_t *) &test_ctx->bufmgr, 2);
/* CE. */
- sar_init_measure_context (test_ctx->sar, INVALID_PTR);
- sar_init_measurement_cb (test_ctx->sar, ce_measurements);
+ sar_init_measurement_cb (test_ctx->sar, ce_measurements, NULL);
sar_init_reassembly_callbacks (test_ctx->sar,
sar_reassembly_done__do_nothing,
sar_reassembly_done__do_nothing,