summaryrefslogtreecommitdiff
path: root/cesar/bsu/test/utest/src/tests.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/test/utest/src/tests.c')
-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;