summaryrefslogtreecommitdiff
path: root/cesar/bsu/test
diff options
context:
space:
mode:
authorlaranjeiro2010-05-17 10:02:51 +0000
committerlaranjeiro2010-05-17 10:02:51 +0000
commit508f437388a77866f85453bbbd5efa096897bd1e (patch)
tree09e9ef284d69a99c2913b067c30e10dd5138eea6 /cesar/bsu/test
parent6f6331ebad0ad3ceb6b5d5042add257215201714 (diff)
cesar/{interface, bsu, cp/beacon, station}: integrate bsu in the station
git-svn-id: svn+ssh://pessac/svn/cesar/trunk@7072 017c9cb6-072f-447c-8318-d5b54f68fe89
Diffstat (limited to 'cesar/bsu/test')
-rw-r--r--cesar/bsu/test/utest/src/tests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/bsu/test/utest/src/tests.c b/cesar/bsu/test/utest/src/tests.c
index b82f3d0126..d46749f270 100644
--- a/cesar/bsu/test/utest/src/tests.c
+++ b/cesar/bsu/test/utest/src/tests.c
@@ -52,8 +52,8 @@ bsu_test_init (bsu_test_t *ctx)
ctx->timer);
ctx->bsu = bsu_init (aclf, &ctx->mac_config, (phy_t*) &ctx->phy,
ctx->mac_store, (ca_t*) &ctx->ca, (sar_t*) ctx,
- ctx->timer, bsu_test_upper_layer_beacon_received,
- ctx);
+ ctx->timer);
+ bsu_init_beacon_cb (bsu_test_upper_layer_beacon_received, ctx);
/* Warn just for the test. */
memset (&ctx->bsu->beacon, 0, sizeof (bsu_beacon_t));
ctx->bsu->sta_avln = &ctx->bsu->avlns[0];