From d27850a4f98c56a312a11bc7917135df5bcdefcb Mon Sep 17 00:00:00 2001 From: NĂ©lio Laranjeiro Date: Thu, 20 Oct 2011 17:36:59 +0200 Subject: cesar/bsu: get the AVLN instead of adding it on track request, closes #2805 In track function called by the CP, BSU was adding the AVLN instead of getting it from its own lists. --- cesar/bsu/test/utest/src/schedules.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cesar/bsu/test/utest/src') diff --git a/cesar/bsu/test/utest/src/schedules.c b/cesar/bsu/test/utest/src/schedules.c index 2bb8d28fa3..10bcf800ac 100644 --- a/cesar/bsu/test/utest/src/schedules.c +++ b/cesar/bsu/test/utest/src/schedules.c @@ -486,6 +486,9 @@ test_case_track_new (test_t t) ctx.bsu->poweron.sync.ntb_offset_tck = 0; ctx.bsu->poweron.sync.fe = 0.0; /* Create the previous AVLN. */ + bool added; + bsu_avln_add (ctx.bsu, 1, 1, mac_track, &added); + test_fail_unless (added); bsu_track_avln (ctx.bsu, 1, 1, 1, mac_track); /* Create a central beacon of the same NID, SNID but from a different * CCo. */ -- cgit v1.2.3