summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest
diff options
context:
space:
mode:
authorNélio Laranjeiro2012-09-05 16:45:01 +0200
committerNélio Laranjeiro2012-12-12 15:05:21 +0100
commit262b802bb1353361e83f878c6e02f455e2deaa01 (patch)
tree80b9b83607dca518c69c2ecc5495a260ff7ee65b /cesar/bsu/test/utest
parent513ddabb1dd641745c596cc90ec33d21ccf02233 (diff)
cesar/bsu: add a context to bsu_init_beacon_cb, refs #3386
Diffstat (limited to 'cesar/bsu/test/utest')
-rw-r--r--cesar/bsu/test/utest/src/tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cesar/bsu/test/utest/src/tests.c b/cesar/bsu/test/utest/src/tests.c
index 7f4dfe7e55..0aebedb5af 100644
--- a/cesar/bsu/test/utest/src/tests.c
+++ b/cesar/bsu/test/utest/src/tests.c
@@ -72,7 +72,7 @@ bsu_test_init (bsu_test_t *ctx)
ctx->bsu = bsu_init (aclf, &ctx->mac_config, (phy_t*) &ctx->phy,
ctx->mac_store, (ca_t*) &ctx->ca, (sar_t*) ctx,
ctx->timer, INVALID_PTR);
- bsu_init_beacon_cb (bsu_test_upper_layer_beacon_received, ctx);
+ bsu_init_beacon_cb (ctx->bsu, bsu_test_upper_layer_beacon_received, ctx);
/* Warn just for the test. */
ctx->bsu->sta_avln = &ctx->bsu->poweron;
ctx->bsu->sta_avln->sync.ntb_offset_tck = 256;