From 155769da3d4fe7cdf03656709e9d648bea6a377a Mon Sep 17 00:00:00 2001 From: laranjeiro Date: Mon, 7 Sep 2009 07:15:24 +0000 Subject: *test_general/maximus/integration/cl-sar-pbproc: (See #412) * Fix the test. git-svn-id: svn+ssh://pessac/svn/cesar/trunk@5433 017c9cb6-072f-447c-8318-d5b54f68fe89 --- cesar/test_general/maximus/integration/cl-sar-pbproc/src/station.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'cesar/test_general/maximus') diff --git a/cesar/test_general/maximus/integration/cl-sar-pbproc/src/station.c b/cesar/test_general/maximus/integration/cl-sar-pbproc/src/station.c index aa0fa54408..6361388c11 100644 --- a/cesar/test_general/maximus/integration/cl-sar-pbproc/src/station.c +++ b/cesar/test_general/maximus/integration/cl-sar-pbproc/src/station.c @@ -188,7 +188,10 @@ void station_test_link_remove (station_test_t *ctx, uint type, uint bcast, } // remove the MFS from the sar - mfs->common.release = true; + if (mfs->common.tx) + mfs->tx.fsm_state = MFS_FSM_CMD_RELEASE; + else + mfs->rx.release = true; sar_mfs_remove (ctx->sar, mfs); blk_release (mfs); @@ -961,7 +964,7 @@ cesar_init (void) // Initialise the SAR. station_test.sar = sar_init (station_test.mac_store, station_test.pbproc, pbproc_get_ca (station_test.pbproc), - stations_test.mac_config.seed); + station_test.mac_config.seed); // Initialise the CL. station_test.cl = cl_init (station_test.mac_store, station_test.sar, -- cgit v1.2.3