summaryrefslogtreecommitdiff
path: root/cesar/test_general/maximus
diff options
context:
space:
mode:
authorlaranjeiro2009-09-07 07:15:24 +0000
committerlaranjeiro2009-09-07 07:15:24 +0000
commit155769da3d4fe7cdf03656709e9d648bea6a377a (patch)
tree3897fc9e7f33388ea10e427b87caa01affc2205f /cesar/test_general/maximus
parentc0d1fc93025b748a72f58420b76e8a104ead3f97 (diff)
*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
Diffstat (limited to 'cesar/test_general/maximus')
-rw-r--r--cesar/test_general/maximus/integration/cl-sar-pbproc/src/station.c7
1 files changed, 5 insertions, 2 deletions
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,