From 262b802bb1353361e83f878c6e02f455e2deaa01 Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Wed, 5 Sep 2012 16:45:01 +0200 Subject: cesar/bsu: add a context to bsu_init_beacon_cb, refs #3386 --- cesar/bsu/test/utest/src/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cesar/bsu/test/utest') 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; -- cgit v1.2.3